DeletedSecretItem Class

The deleted secret item containing metadata about the deleted secret.

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

Inheritance
DeletedSecretItem

Constructor

DeletedSecretItem(*, id: Optional[str] = None, attributes=None, tags=None, content_type: Optional[str] = None, recovery_id: Optional[str] = None, **kwargs)

Parameters

id
str
Required

Secret identifier.

attributes
SecretAttributes
Required

The secret management attributes.

tags
dict[str, str]
Required

Application specific metadata in the form of key-value pairs.

content_type
str
Required

Type of the secret value such as a password.

recovery_id
str
Required

The url of the recovery object, used to identify and recover the deleted secret.

Variables

managed
bool

True if the secret's lifetime is managed by key vault. If this is a key backing a certificate, then managed will be true.

scheduled_purge_date
datetime

The time when the secret is scheduled to be purged, in UTC

deleted_date
datetime

The time when the secret was deleted, in UTC