DeletedSecretBundle Class

A Deleted Secret consisting of its previous id, attributes and its tags, as well as information on when it will be purged.

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

Inheritance
DeletedSecretBundle

Constructor

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

Parameters

value
str
Required

The secret value.

id
str
Required

The secret id.

content_type
str
Required

The content type of the secret.

attributes
SecretAttributes
Required

The secret management attributes.

tags
dict[str, str]
Required

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

recovery_id
str
Required

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

Variables

kid
str

If this is a secret backing a KV certificate, then this field specifies the corresponding key backing the KV certificate.

managed
bool

True if the secret's lifetime is managed by key vault. If this is a secret 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