Skip to main content

managed_hsm_keys_versions

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

Overview

Namemanaged_hsm_keys_versions
TypeResource
Idazure.key_vault.managed_hsm_keys_versions

Fields

NameDatatypeDescription
idtextFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
nametextThe name of the 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
release_policytextfield from the properties object
resourceGroupNametextfield from the properties object
rotation_policytextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.
typetextThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

NameAccessible byRequired ParamsDescription
getSELECTkeyName, keyVersion, name, resourceGroupName, subscriptionIdGets the specified version of the specified key in the specified managed HSM.
listSELECTkeyName, name, resourceGroupName, subscriptionIdLists 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.

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 }}';