POST
/
api
/
v1
/
kms
/
keys
/
{keyId}
/
decrypt
curl --request POST \
  --url https://us.infisical.com/api/v1/kms/keys/{keyId}/decrypt \
  --header 'Content-Type: application/json' \
  --data '{
  "ciphertext": "<string>"
}'
{
  "plaintext": "<string>"
}

Path Parameters

keyId
string
required

The ID of the key to decrypt the data with.

Body

application/json
ciphertext
string
required

The ciphertext to be decrypted (base64 encoded).

Response

200
application/json
Default Response
plaintext
string
required

Was this page helpful?