Package version:

Interface ManagedHsmKey

The key resource.

interface ManagedHsmKey {
    attributes?: ManagedHsmKeyAttributes;
    curveName?: string;
    id?: string;
    keyOps?: string[];
    keySize?: number;
    keyUri?: string;
    keyUriWithVersion?: string;
    kty?: string;
    name?: string;
    releasePolicy?: ManagedHsmKeyReleasePolicy;
    rotationPolicy?: ManagedHsmRotationPolicy;
    systemData?: SystemData;
    tags?: {
        [propertyName: string]: string;
    };
    type?: string;
}

Hierarchy (view full)

Properties

The attributes of the key.

curveName?: string

The elliptic curve name. For valid values, see JsonWebKeyCurveName. Default for EC and EC-HSM keys is P-256

id?: string

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" NOTE: This property will not be serialized. It can only be populated by the server.

keyOps?: string[]
keySize?: number

The key size in bits. For example: 2048, 3072, or 4096 for RSA. Default for RSA and RSA-HSM keys is 2048. Exception made for bring your own key (BYOK), key exchange keys default to 4096.

keyUri?: string

The URI to retrieve the current version of the key. NOTE: This property will not be serialized. It can only be populated by the server.

keyUriWithVersion?: string

The URI to retrieve the specific version of the key. NOTE: This property will not be serialized. It can only be populated by the server.

kty?: string

The type of the key. For valid values, see JsonWebKeyType.

name?: string

The name of the resource NOTE: This property will not be serialized. It can only be populated by the server.

Key release policy in response. It will be used for both output and input. Omitted if empty

rotationPolicy?: ManagedHsmRotationPolicy

Key rotation policy in response. It will be used for both output and input. Omitted if empty

systemData?: SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information. NOTE: This property will not be serialized. It can only be populated by the server.

tags?: {
    [propertyName: string]: string;
}

Resource tags

type?: string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" NOTE: This property will not be serialized. It can only be populated by the server.