Certificates

POST /get-pki-certificate

Changed on

Request

  • Base URL
    https://api.akeyless.io
  • URL
    https://api.akeyless.io/get-pki-certificate
  • Auth
    none declared

Request body

alt-namesstring

The Subject Alternative Names to be included in the PKI certificate (in a comma-separated list) (if CSR is supplied this flag is ignored and any DNS.* names are taken from it)

cert-issuer-namestring required

The name of the PKI certificate issuer

common-namestring

The common name to be included in the PKI certificate (if CSR is supplied this flag is ignored and the CSR subject CN is taken)

csr-data-base64string

Certificate Signing Request contents encoded in base64 to generate the certificate with

extended-key-usagestring

A comma-separated list of extended key usage requests which will be used for certificate issuance. Supported values: 'clientauth', 'serverauth', 'codesigning'. If critical is present the extension will be marked as critical

extra-extensionsstring

A json string that defines the requested extra extensions for the certificate

jsonboolean

Set output format to JSON

key-data-base64string

PKI key file contents. If this option is used, the certificate will be printed to stdout

max-path-leninteger

The maximum path length for the generated certificate. -1, means unlimited unless the signing certificate has a maximum path length set

tokenstring

Authentication token (see /auth and /configure)

ttlstring

Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL). Ignored for Let's Encrypt public CA issuers, which always use the CA default lifetime (about 90 days).

uid-tokenstring

The universal identity token, Required only for universal_identity authentication

uri-sansstring

The URI Subject Alternative Names to be included in the PKI certificate (in a comma-separated list) (if CSR is supplied this flag is ignored and any URI.* names are taken from it)

Response

getPKICertificateResponse wraps response body.

cert_display_idstring
cert_item_idinteger
datastring
parent_certstring
pathstring
reading_tokenstring

Changes