Skip to main content
GET
/
api
/
v1
/
kms
/
keys
/
{keyId}
/
private-key
cURL
curl --request GET \
  --url https://us.infisical.com/api/v1/kms/keys/{keyId}/private-key
{
  "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.

Path Parameters

keyId
string<uuid>
required

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

Response

Default Response

privateKey
string
required