keys_versions
Creates, updates, deletes, gets or lists a keys_versions
resource.
Overview
Name | keys_versions |
Type | Resource |
Id | azure.key_vault.keys_versions |
Fields
- vw_keys_versions
- keys_versions
Name | Datatype | Description |
---|---|---|
id | text | Fully qualified identifier of the key vault resource. |
name | text | Name of the key vault resource. |
attributes | text | field from the properties object |
curve_name | text | field from the properties object |
keyName | text | field from the properties object |
keyVersion | text | field from the properties object |
key_ops | text | field from the properties object |
key_size | text | field from the properties object |
key_uri | text | field from the properties object |
key_uri_with_version | text | field from the properties object |
kty | text | field from the properties object |
location | text | Azure location of the key vault resource. |
release_policy | text | field from the properties object |
resourceGroupName | text | field from the properties object |
rotation_policy | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Tags assigned to the key vault resource. |
type | text | Resource type of the key vault resource. |
vaultName | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
id | string | Fully qualified identifier of the key vault resource. |
name | string | Name of the key vault resource. |
location | string | Azure location of the key vault resource. |
properties | object | The properties of the key. |
tags | object | Tags assigned to the key vault resource. |
type | string | Resource type of the key vault resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | keyName, keyVersion, resourceGroupName, subscriptionId, vaultName | Gets the specified version of the specified key in the specified key vault. |
list | SELECT | keyName, resourceGroupName, subscriptionId, vaultName | Lists 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.
- vw_keys_versions
- keys_versions
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 }}';
SELECT
id,
name,
location,
properties,
tags,
type
FROM azure.key_vault.keys_versions
WHERE keyName = '{{ keyName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vaultName = '{{ vaultName }}';