CertificateProperties Class

Certificate properties consists of a certificates metadata.

Inheritance
builtins.object
CertificateProperties

Constructor

CertificateProperties(**kwargs: Any)

Attributes

created_on

The datetime when the certificate is created.

Returns

Type Description

A datetime representing the certificate's creation time.

enabled

Whether the certificate is enabled or not.

Returns

Type Description
bool,

True if the certificate is enabled; False otherwise.

expires_on

The datetime when the certificate expires.

Returns

Type Description

A datetime representing the point in time when the certificate expires.

id

The certificate identifier.

Returns

Type Description
str

The certificate identifier.

name

The name of the certificate.

Returns

Type Description
str

The name of the certificate.

not_before

The datetime before which the certificate is not valid.

Returns

Type Description

A datetime representing the point in time when the certificate becomes valid.

recoverable_days

The number of days the certificate is retained before being deleted from a soft-delete enabled Key Vault.

Returns

Type Description
int,

The number of days remaining where the certificate can be restored.

recovery_level

The deletion recovery level currently in effect for the certificate.

Returns

Type Description
<xref:models.DeletionRecoveryLevel>,

The deletion recovery level currently in effect for the certificate.

tags

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

Returns

Type Description
dict[str, str],

A dictionary of tags attached to the certificate.

updated_on

The datetime when the certificate was last updated.

Returns

Type Description

A datetime representing the time of the certificate's most recent update.

vault_url

The URL of the vault containing the certificate.

Returns

Type Description
str

The URL of the vault containing the certificate.

version

The version of the certificate.

Returns

Type Description
str,

The version of the certificate.

x509_thumbprint

The certificate's thumbprint, in bytes.

To get the thumbprint as a hexadecimal string, call .hex() on this property.

Returns

Type Description

The certificate's thumbprint, in bytes.