Package version:

Interface ManagedHsmKeyProperties

The properties of the key.

interface ManagedHsmKeyProperties {
    attributes?: ManagedHsmKeyAttributes;
    curveName?: string;
    keyOps?: string[];
    keySize?: number;
    keyUri?: string;
    keyUriWithVersion?: string;
    kty?: string;
    releasePolicy?: ManagedHsmKeyReleasePolicy;
    rotationPolicy?: ManagedHsmRotationPolicy;
}

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

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.

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