Skip to main content

managed_hsm_keys

Overview

Namemanaged_hsm_keys
TypeResource
Idazure.key_vault.managed_hsm_keys

Fields

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
namestringThe name of the resource
propertiesobjectThe properties of the key.
tagsobjectResource tags.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

NameAccessible byRequired ParamsDescription
getSELECTkeyName, name, resourceGroupName, subscriptionIdGets the current version of the specified key from the specified managed HSM.
listSELECTname, resourceGroupName, subscriptionIdLists the keys in the specified managed HSM.
_listEXECname, resourceGroupName, subscriptionIdLists the keys in the specified managed HSM.
create_if_not_existEXECkeyName, name, resourceGroupName, subscriptionId, data__propertiesCreates the first version of a new key if it does not exist. If it already exists, then the existing key is returned without any write operations being performed. This API does not create subsequent versions, and does not update existing keys.