Certificate Templates
Create
POST
/
api
/
v1
/
pki
/
certificate-templates
Body
application/json
caId
string
requiredThe ID of the certificate authority to associate the template with
pkiCollectionId
string
The ID of the PKI collection to bind to the template
name
string
requiredThe name of the template
commonName
string
requiredThe regular expression string to use for validating common names
subjectAlternativeName
string
requiredThe regular expression string to use for validating subject alternative names
ttl
string
requiredThe max TTL for the template
keyUsages
enum<string>[]
The key usage constraint or default value for when template is used during certificate issuance
Available options:
digitalSignature
, keyEncipherment
, nonRepudiation
, dataEncipherment
, keyAgreement
, keyCertSign
, cRLSign
, encipherOnly
, decipherOnly
extendedKeyUsages
enum<string>[]
The extended key usage constraint or default value for when template is used during certificate issuance
Available options:
clientAuth
, serverAuth
, codeSigning
, emailProtection
, timeStamping
, ocspSigning
Response
200 - application/json
id
string
requiredcaId
string
requiredname
string
requiredcommonName
string
requiredsubjectAlternativeName
string
requiredpkiCollectionId
string | null
ttl
string
requiredkeyUsages
string[] | null
extendedKeyUsages
string[] | null
projectId
string
requiredcaName
string
requiredWas this page helpful?