Skip to main content

keys_versions

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

Overview

Namekeys_versions
TypeResource
Idazure.key_vault.keys_versions

Fields

NameDatatypeDescription
idtextFully qualified identifier of the key vault resource.
nametextName of the key vault resource.
attributestextfield from the properties object
curve_nametextfield from the properties object
keyNametextfield from the properties object
keyVersiontextfield from the properties object
key_opstextfield from the properties object
key_sizetextfield from the properties object
key_uritextfield from the properties object
key_uri_with_versiontextfield from the properties object
ktytextfield from the properties object
locationtextAzure location of the key vault resource.
release_policytextfield from the properties object
resourceGroupNametextfield from the properties object
rotation_policytextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextTags assigned to the key vault resource.
typetextResource type of the key vault resource.
vaultNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTkeyName, keyVersion, resourceGroupName, subscriptionId, vaultNameGets the specified version of the specified key in the specified key vault.
listSELECTkeyName, resourceGroupName, subscriptionId, vaultNameLists the versions of the specified key in the specified key vault.

SELECT examples

Lists the versions of the specified key in the specified key vault.

SELECT
id,
name,
attributes,
curve_name,
keyName,
keyVersion,
key_ops,
key_size,
key_uri,
key_uri_with_version,
kty,
location,
release_policy,
resourceGroupName,
rotation_policy,
subscriptionId,
tags,
type,
vaultName
FROM azure.key_vault.vw_keys_versions
WHERE keyName = '{{ keyName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vaultName = '{{ vaultName }}';