ManagedHsmKeyProperties Class

The properties of the key.

Constructor

ManagedHsmKeyProperties()

Variables

Name Description
attributes
<xref:<xref:"ManagedHsmKeyAttributes">>

The attributes of the key.

kty
Union[str, <xref:"JsonWebKeyType">]

The type of the key. For valid values, see JsonWebKeyType. Known values are: "EC", "EC-HSM", "RSA", "RSA-HSM", and "oct-HSM".

keyOps
list[Union[str, <xref:"JsonWebKeyOperation">]]
keySize
int

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.

curveName
Union[str, <xref:"JsonWebKeyCurveName">]

The elliptic curve name. For valid values, see JsonWebKeyCurveName. Default for EC and EC-HSM keys is P-256. Known values are: "P-256", "P-384", "P-521", and "P-256K".

keyUri
str

The URI to retrieve the current version of the key.

keyUriWithVersion
str

The URI to retrieve the specific version of the key.

rotationPolicy
<xref:<xref:"ManagedHsmRotationPolicy">>

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

release_policy
<xref:<xref:"ManagedHsmKeyReleasePolicy">>

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

Attributes

attributes

The attributes of the key.

attributes: ManagedHsmKeyAttributes

curveName

The elliptic curve name. For valid values, see JsonWebKeyCurveName. Default for EC and EC-HSM keys is P-256. Known values are: "P-256", "P-384", "P-521", and "P-256K".

curveName: str | JsonWebKeyCurveName

keySize

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.

keySize: int

keyUri

The URI to retrieve the current version of the key.

keyUri: str

keyUriWithVersion

The URI to retrieve the specific version of the key.

keyUriWithVersion: str

kty

"EC", "EC-HSM", "RSA", "RSA-HSM", and "oct-HSM".

kty: str | JsonWebKeyType

release_policy

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

release_policy: ManagedHsmKeyReleasePolicy

rotationPolicy

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

rotationPolicy: ManagedHsmRotationPolicy

keyOps

keyOps: list[typing.Union[str, ForwardRef('JsonWebKeyOperation')]]