v4

latestOpenAPI 3.0.32026-07-312,317012.2 MB
PKI Certificate Templates

post/api/v1/pki/certificate-templates

Request body

caIdstring required

The ID of the certificate authority to associate the template with.

pkiCollectionIdstring

The ID of the PKI collection to bind to the template.

namestring required

The name of the template.

commonNamestring required

The regular expression string to use for validating common names.

subjectAlternativeNamestring required

The regular expression string to use for validating subject alternative names.

ttlstring required

The max TTL for the template.

keyUsagesstring[]

The key usage constraint or default value for when template is used during certificate issuance.

extendedKeyUsagesstring[]

The extended key usage constraint or default value for when template is used during certificate issuance.

Response

Default Response

idstring uuid required
caIdstring uuid required
namestring required
commonNamestring required
subjectAlternativeNamestring required
pkiCollectionIdstring uuid nullable
ttlstring required
keyUsagesstring[] nullable
extendedKeyUsagesstring[] nullable
projectIdstring required
caNamestring required