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.
Default Response
The response is of type object.
object
Was this page helpful?