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
The ID of the key to decrypt the data with.
The ciphertext to be decrypted (base64 encoded).
Default Response
Was this page helpful?