PKI Certificates

Import certificate

post/api/v1/cert-manager/certificates/import-certificate

Request

  • Base URL
    https://us.infisical.com
  • URL
    https://us.infisical.com/api/v1/cert-manager/certificates/import-certificate
  • Auth
    none declared

Request body

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.

applicationIdstring uuid
profileIdstring uuid

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.

Response

Default Response

certificateIdstring uuid required

The ID of the imported certificate.

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.

Changes

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the required property to the response with the status

    • warning

      the request property's maxLength was set to 255