DeletedCertificate Class

A deleted Certificate consisting of its previous ID, attributes, tags, and information on when it will be purged.

Inheritance
azure.keyvault.certificates._models.KeyVaultCertificate
DeletedCertificate

Constructor

DeletedCertificate(properties: CertificateProperties | None = None, policy: CertificatePolicy | None = None, cer: bytearray | None = None, **kwargs: Any)

Parameters

Name Description
properties

Properties of the deleted certificate.

default value: None
policy

The management policy of the deleted certificate.

default value: None
cer

CER contents of the X509 certificate.

default value: None

Keyword-Only Parameters

Name Description
deleted_on

The time when the certificate was deleted, in UTC.

recovery_id
str or None

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

scheduled_purge_date

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

Attributes

cer

The CER contents of the certificate.

Returns

Type Description

The CER contents of the certificate.

deleted_on

The datetime when the certificate was deleted.

Returns

Type Description

The datetime when the certificate was deleted.

id

The certificate identifier.

Returns

Type Description
str,

The certificate identifier.

key_id

The ID of the key associated with the certificate.

Returns

Type Description
str,

The ID of the key associated with the certificate.

name

The name of the certificate.

Returns

Type Description
str,

The name of the certificate.

policy

The management policy of the certificate.

Returns

Type Description

The management policy of the certificate.

properties

The certificate's properties.

Returns

Type Description

The certificate's properties.

recovery_id

The URL of the recovery object, used to identify and recover the deleted certificate.

Returns

Type Description
str,

The URL of the recovery object, used to identify and recover the deleted certificate.

scheduled_purge_date

The datetime when the certificate is scheduled to be purged.

Returns

Type Description

The datetime when the certificate is scheduled to be purged.

secret_id

The ID of the secret associated with the certificate.

Returns

Type Description
str,

The ID of the secret associated with the certificate.