KeyProperties Class

The properties of the key.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.keyvault._serialization.Model
KeyProperties

Constructor

KeyProperties(*, attributes: _models.KeyAttributes | None = None, kty: str | _models.JsonWebKeyType | None = None, key_ops: List[str | _models.JsonWebKeyOperation] | None = None, key_size: int | None = None, curve_name: str | _models.JsonWebKeyCurveName | None = None, rotation_policy: _models.RotationPolicy | None = None, release_policy: _models.KeyReleasePolicy | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
attributes

The attributes of the key.

kty

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

key_ops
key_size
int

The key size in bits. For example: 2048, 3072, or 4096 for RSA.

curve_name

The elliptic curve name. For valid values, see JsonWebKeyCurveName. Known values are: "P-256", "P-384", "P-521", and "P-256K".

rotation_policy

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

release_policy

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

Variables

Name Description
attributes

The attributes of the key.

kty

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

key_ops
key_size
int

The key size in bits. For example: 2048, 3072, or 4096 for RSA.

curve_name

The elliptic curve name. For valid values, see JsonWebKeyCurveName. Known values are: "P-256", "P-384", "P-521", and "P-256K".

key_uri
str

The URI to retrieve the current version of the key.

key_uri_with_version
str

The URI to retrieve the specific version of the key.

rotation_policy

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

release_policy

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