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>"
}

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