PKI Certificates
Import certificate
post/api/v1/pki/certificates/import-certificate
Request body
projectSlugstring required
Slug of the project to import the certificate into.
certificatePemstring required
The PEM-encoded leaf certificate.
privateKeyPemstring
Optional PEM-encoded private key associated with the certificate.
chainPemstring
Optional PEM-encoded chain of intermediate certificates.
friendlyNamestring
A friendly name for the certificate.
pkiCollectionIdstring
The ID of the PKI collection to add the certificate to.
Response
Default Response
certificatestring required
The imported certificate.
certificateChainstring
The certificate chain associated with the imported certificate. Returned only when a chain was supplied at import.
privateKeystring
The PEM-encoded private key associated with the imported certificate. Returned only when a private key was supplied at import.
serialNumberstring required
The serial number of the imported certificate.