Partager via


KeyAttributes Class

The object attributes managed by the Azure Key Vault service.

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

Inheritance
azure.mgmt.keyvault._serialization.Model
KeyAttributes

Constructor

KeyAttributes(*, enabled: bool | None = None, not_before: int | None = None, expires: int | None = None, exportable: bool = False, **kwargs: Any)

Keyword-Only Parameters

Name Description
enabled

Determines whether or not the object is enabled.

not_before
int

Not before date in seconds since 1970-01-01T00:00:00Z.

expires
int

Expiry date in seconds since 1970-01-01T00:00:00Z.

exportable

Indicates if the private key can be exported.

Variables

Name Description
enabled

Determines whether or not the object is enabled.

not_before
int

Not before date in seconds since 1970-01-01T00:00:00Z.

expires
int

Expiry date in seconds since 1970-01-01T00:00:00Z.

created
int

Creation time in seconds since 1970-01-01T00:00:00Z.

updated
int

Last updated time in seconds since 1970-01-01T00:00:00Z.

recovery_level

The deletion recovery level currently in effect for the object. If it contains 'Purgeable', then the object can be permanently deleted by a privileged user; otherwise, only the system can purge the object at the end of the retention interval. Known values are: "Purgeable", "Recoverable+Purgeable", "Recoverable", and "Recoverable+ProtectedSubscription".

exportable

Indicates if the private key can be exported.