KMS Keys

Export the private key (or key material) for a KMS key. For asymmetric keys (sign/verify), the private key is returned. For symmetric keys (encrypt/decrypt), the key material is returned.

get/api/v1/kms/keys/{keyId}/private-key

Request

  • Base URL
    https://us.infisical.com
  • URL
    https://us.infisical.com/api/v1/kms/keys/{keyId}/private-key
  • Auth
    none declared

Path parameters

keyIdstring uuid required

The ID of the key to export the private key or key material for.

Response

Default Response

privateKeystring required

Changes

No recorded changes to this operation across all 65 revisions of this API.