Skip to main content
POST
/
api
/
v1
/
cert-manager
/
certificates
/
import-certificate
cURL
curl --request POST \
  --url https://us.infisical.com/api/v1/cert-manager/certificates/import-certificate \
  --header 'Content-Type: application/json' \
  --data '
{
  "certificatePem": "<string>",
  "privateKeyPem": "<string>",
  "chainPem": "<string>",
  "friendlyName": "<string>",
  "pkiCollectionId": "<string>",
  "applicationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "certificate": "<string>",
  "serialNumber": "<string>",
  "certificateChain": "<string>",
  "privateKey": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://infisical.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
certificatePem
string
required

The PEM-encoded leaf certificate.

Minimum string length: 1
privateKeyPem
string

Optional PEM-encoded private key associated with the certificate.

Minimum string length: 1
chainPem
string

Optional PEM-encoded chain of intermediate certificates.

Minimum string length: 1
friendlyName
string

A friendly name for the certificate.

pkiCollectionId
string

The ID of the PKI collection to add the certificate to.

applicationId
string<uuid>

Response

Default Response

certificate
string
required

The imported certificate.

serialNumber
string
required

The serial number of the imported certificate.

certificateChain
string

The certificate chain associated with the imported certificate. Returned only when a chain was supplied at import.

privateKey
string

The PEM-encoded private key associated with the imported certificate. Returned only when a private key was supplied at import.