你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

KeyVaultCertificate Class

Consists of a certificate and its attributes

Inheritance
builtins.object
KeyVaultCertificate

Constructor

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

Parameters

Name Description
policy

The management policy for the certificate.

Default value: None
properties

The certificate's properties.

Default value: None
cer

CER contents of the X509 certificate.

Default value: None

Attributes

cer

The CER contents of the certificate.

Returns

Type Description

The CER contents of the certificate.

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.

secret_id

The ID of the secret associated with the certificate.

Returns

Type Description
str,

The ID of the secret associated with the certificate.