Import certificate
Import certificate
Body
The PEM-encoded leaf certificate.
1Optional PEM-encoded private key associated with the certificate.
1Optional PEM-encoded chain of intermediate certificates.
1Optional PEM-encoded certificate signing request generated from the certificate's private key, typically the one it was issued from. Lets renewal reuse the existing key pair, including automatic renewal, without Infisical holding the private key. Requires a profile backed by a certificate authority that issues from a CSR (not AWS Certificate Manager). The CSR must carry the certificate's public key, can't name anything the certificate doesn't, and must satisfy the profile's certificate policy.
1 - 131072A friendly name for the certificate.
255The ID of the PKI collection to add the certificate to.
The certificate profile that will manage this certificate's lifecycle. The certificate must satisfy the profile's certificate policy, or the request is rejected with a 400 naming the attributes that failed. Omit to track the certificate without renewal, reissue or revocation.
Identifies this certificate at the provider that issued it. Required when the chosen profile issues from an external certificate authority. For DigiCert, pass the CertCentral order ID as { type: "digicert", orderId: 2081714 }.
Response
Default Response
The ID of the imported certificate.
The imported certificate.
The serial number of the imported certificate.
The certificate chain associated with the imported certificate. Returned only when a chain was supplied at import.
The PEM-encoded private key associated with the imported certificate. Returned only when a private key was supplied at import.