managed_hsm_keys_versions
Creates, updates, deletes, gets or lists a managed_hsm_keys_versions
resource.
Overview
Name | managed_hsm_keys_versions |
Type | Resource |
Id | azure.key_vault.managed_hsm_keys_versions |
Fields
- vw_managed_hsm_keys_versions
- managed_hsm_keys_versions
Name | Datatype | Description |
---|---|---|
id | text | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name | text | The name of the 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 |
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 | Resource tags. |
type | text | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Name | Datatype | Description |
---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name | string | The name of the resource |
properties | object | The properties of the key. |
tags | object | Resource tags. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | keyName, keyVersion, name, resourceGroupName, subscriptionId | Gets the specified version of the specified key in the specified managed HSM. |
list | SELECT | keyName, name, resourceGroupName, subscriptionId | Lists the versions of the specified key in the specified managed HSM. |
SELECT
examples
Lists the versions of the specified key in the specified managed HSM.
- vw_managed_hsm_keys_versions
- managed_hsm_keys_versions
SELECT
id,
name,
attributes,
curve_name,
keyName,
keyVersion,
key_ops,
key_size,
key_uri,
key_uri_with_version,
kty,
release_policy,
resourceGroupName,
rotation_policy,
subscriptionId,
tags,
type
FROM azure.key_vault.vw_managed_hsm_keys_versions
WHERE keyName = '{{ keyName }}'
AND name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
properties,
tags,
type
FROM azure.key_vault.managed_hsm_keys_versions
WHERE keyName = '{{ keyName }}'
AND name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';