Skip to content

TemplateV2

Source code in docs_src/capo_pca_connector_ad/types/template_v2.py
class TemplateV2(TypedDict, closed=True):
    certificate_validity: (
        "capo_pca_connector_ad.types.certificate_validity.CertificateValidity"
    )
    """<p>Certificate validity describes the validity and renewal periods of a certificate.</p>"""
    superseded_templates: NotRequired[
        "capo_pca_connector_ad.types.template_name_list.TemplateNameList"
    ]
    """<p>List of templates in Active Directory that are superseded by this template.</p>"""
    private_key_attributes: (
        "capo_pca_connector_ad.types.private_key_attributes_v2.PrivateKeyAttributesV2"
    )
    """<p>Private key attributes allow you to specify the minimal key length, key spec, and cryptographic providers for the private key of a certificate for v2 templates. V2 templates allow you to use Legacy Cryptographic Service Providers.</p>"""
    private_key_flags: (
        "capo_pca_connector_ad.types.private_key_flags_v2.PrivateKeyFlagsV2"
    )
    """<p>Private key flags for v2 templates specify the client compatibility, if the private key can be exported, and if user input is required when using a private key. </p>"""
    enrollment_flags: (
        "capo_pca_connector_ad.types.enrollment_flags_v2.EnrollmentFlagsV2"
    )
    """<p>Enrollment flags describe the enrollment settings for certificates such as using the existing private key and deleting expired or revoked certificates.</p>"""
    subject_name_flags: (
        "capo_pca_connector_ad.types.subject_name_flags_v2.SubjectNameFlagsV2"
    )
    """<p>Subject name flags describe the subject name and subject alternate name that is included in a certificate.</p>"""
    general_flags: "capo_pca_connector_ad.types.general_flags_v2.GeneralFlagsV2"
    """<p>General flags describe whether the template is used for computers or users and if the template can be used with autoenrollment.</p>"""
    extensions: "capo_pca_connector_ad.types.extensions_v2.ExtensionsV2"
    """<p>Extensions describe the key usage extensions and application policies for a template.</p>"""

certificate_validity instance-attribute

certificate_validity: CertificateValidity

Certificate validity describes the validity and renewal periods of a certificate.

enrollment_flags instance-attribute

enrollment_flags: EnrollmentFlagsV2

Enrollment flags describe the enrollment settings for certificates such as using the existing private key and deleting expired or revoked certificates.

extensions instance-attribute

extensions: ExtensionsV2

Extensions describe the key usage extensions and application policies for a template.

general_flags instance-attribute

general_flags: GeneralFlagsV2

General flags describe whether the template is used for computers or users and if the template can be used with autoenrollment.

private_key_attributes instance-attribute

private_key_attributes: PrivateKeyAttributesV2

Private key attributes allow you to specify the minimal key length, key spec, and cryptographic providers for the private key of a certificate for v2 templates. V2 templates allow you to use Legacy Cryptographic Service Providers.

private_key_flags instance-attribute

private_key_flags: PrivateKeyFlagsV2

Private key flags for v2 templates specify the client compatibility, if the private key can be exported, and if user input is required when using a private key.

subject_name_flags instance-attribute

subject_name_flags: SubjectNameFlagsV2

Subject name flags describe the subject name and subject alternate name that is included in a certificate.

superseded_templates instance-attribute

superseded_templates: NotRequired[TemplateNameList]

List of templates in Active Directory that are superseded by this template.