Skip to main content

key_attestations

Creates, updates, deletes, gets or lists a key_attestations resource.

Overview

Namekey_attestations
TypeResource
Idazure.key_vault_keys.key_attestations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
attributesobjectThe key management attributes.
keyobjectThe Json web key.
managedbooleanTrue if the key's lifetime is managed by key vault. If this is a key backing a certificate, then managed will be true.
release_policyobjectThe policy rules under which the key can be exported.
tagsobjectApplication specific metadata in the form of key-value pairs.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_key_attestationselectkey_name, key_version, vault_nameGets the public part of a stored key along with its attestation blob. The get key attestation operation returns the key along with its attestation blob. This operation requires the keys/get permission.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
key_namestringThe name of the key to retrieve attestation for. Required.
key_versionstringAdding the version parameter retrieves attestation blob for specific version of a key. This URI fragment is optional. If not specified, the latest version of the key attestation blob is returned. Required.
vault_namestringKey vault name. (default: )

SELECT examples

Gets the public part of a stored key along with its attestation blob. The get key attestation operation returns the key along with its attestation blob. This operation requires the keys/get permission.

SELECT
attributes,
key,
managed,
release_policy,
tags
FROM azure.key_vault_keys.key_attestations
WHERE key_name = '{{ key_name }}' -- required
AND key_version = '{{ key_version }}' -- required
AND vault_name = '{{ vault_name }}' -- required
;