SecretAttributes Class

The secret management attributes.

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

Inheritance
SecretAttributes

Constructor

SecretAttributes(*, enabled: Optional[bool] = None, not_before=None, expires=None, **kwargs)

Parameters

enabled
bool
Required

Determines whether the object is enabled.

not_before
datetime
Required

Not before date in UTC.

expires
datetime
Required

Expiry date in UTC.

Variables

created
datetime

Creation time in UTC.

updated
datetime

Last updated time in UTC.

recovery_level
str or DeletionRecoveryLevel

Reflects the deletion recovery level currently in effect for secrets in the current vault. If it contains 'Purgeable', the secret can be permanently deleted by a privileged user; otherwise, only the system can purge the secret, at the end of the retention interval. Possible values include: 'Purgeable', 'Recoverable+Purgeable', 'Recoverable', 'Recoverable+ProtectedSubscription'