cURL
curl --request POST \ --url https://us.infisical.com/api/v1/kms/keys/{keyId}/decrypt \ --header 'Content-Type: application/json' \ --data ' { "ciphertext": "<string>" } '
{ "plaintext": "<string>" }
Decrypt data with KMS key
Documentation IndexFetch the complete documentation index at: https://infisical.com/docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://infisical.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
The ID of the key to decrypt the data with.
The ciphertext to be decrypted (base64 encoded).
Default Response
Was this page helpful?