Skip to content

Certificate

Source code in docs_src/capo_directory_service/types/certificate.py
class Certificate(TypedDict, closed=True):
    certificate_id: NotRequired[
        "capo_directory_service.types.certificate_id.CertificateId"
    ]
    """<p>The identifier of the certificate.</p>"""
    state: NotRequired[
        "capo_directory_service.types.certificate_state.CertificateState"
    ]
    """<p>The state of the certificate.</p>"""
    state_reason: NotRequired[
        "capo_directory_service.types.certificate_state_reason.CertificateStateReason"
    ]
    """<p>Describes a state change for the certificate.</p>"""
    common_name: NotRequired[
        "capo_directory_service.types.certificate_cn.CertificateCN"
    ]
    """<p>The common name for the certificate.</p>"""
    registered_date_time: NotRequired[
        "capo_directory_service.types.certificate_registered_date_time.CertificateRegisteredDateTime"
    ]
    """<p>The date and time that the certificate was registered.</p>"""
    expiry_date_time: NotRequired[
        "capo_directory_service.types.certificate_expiry_date_time.CertificateExpiryDateTime"
    ]
    """<p>The date and time when the certificate will expire.</p>"""
    type: NotRequired["capo_directory_service.types.certificate_type.CertificateType"]
    """<p>The function that the registered certificate performs. Valid values include <code>ClientLDAPS</code> or <code>ClientCertAuth</code>. The default value is <code>ClientLDAPS</code>.</p>"""
    client_cert_auth_settings: NotRequired[
        "capo_directory_service.types.client_cert_auth_settings.ClientCertAuthSettings"
    ]
    """<p>A <code>ClientCertAuthSettings</code> object that contains client certificate authentication settings.</p>"""

certificate_id instance-attribute

certificate_id: NotRequired[CertificateId]

The identifier of the certificate.

client_cert_auth_settings instance-attribute

client_cert_auth_settings: NotRequired[ClientCertAuthSettings]

A ClientCertAuthSettings object that contains client certificate authentication settings.

common_name instance-attribute

common_name: NotRequired[CertificateCN]

The common name for the certificate.

expiry_date_time instance-attribute

expiry_date_time: NotRequired[CertificateExpiryDateTime]

The date and time when the certificate will expire.

registered_date_time instance-attribute

registered_date_time: NotRequired[CertificateRegisteredDateTime]

The date and time that the certificate was registered.

state instance-attribute

state: NotRequired[CertificateState]

The state of the certificate.

state_reason instance-attribute

state_reason: NotRequired[CertificateStateReason]

Describes a state change for the certificate.

type instance-attribute

type: NotRequired[CertificateType]

The function that the registered certificate performs. Valid values include ClientLDAPS or ClientCertAuth. The default value is ClientLDAPS.