TokenCertificate Class

The properties of a certificate used for authenticating a token.

Inheritance
TokenCertificate

Constructor

TokenCertificate(*, name: Optional[Union[str, azure.mgmt.containerregistry.v2019_05_01_preview.models._container_registry_management_client_enums.TokenCertificateName]] = None, expiry: Optional[datetime.datetime] = None, thumbprint: Optional[str] = None, encoded_pem_certificate: Optional[str] = None, **kwargs)

Variables

name
str or TokenCertificateName

Possible values include: "certificate1", "certificate2".

expiry
datetime

The expiry datetime of the certificate.

thumbprint
str

The thumbprint of the certificate.

encoded_pem_certificate
str

Base 64 encoded string of the public certificate1 in PEM format that will be used for authenticating the token.