Key Management Service API, gRPC: AsymmetricEncryptionCryptoService.Decrypt
Written by
Updated at December 9, 2025
Decrypts the given ciphertext with the specified key.
gRPC request
rpc Decrypt (AsymmetricDecryptRequest) returns (AsymmetricDecryptResponse)
AsymmetricDecryptRequest
{
"key_id": "string",
"ciphertext": "bytes"
}
|
Field |
Description |
|
key_id |
string Required field. ID of the asymmetric KMS key to use for decryption. The maximum string length in characters is 50. |
|
ciphertext |
bytes Required field. Ciphertext to be decrypted. The maximum string length in characters is 32768. |
AsymmetricDecryptResponse
{
"key_id": "string",
"plaintext": "bytes"
}
|
Field |
Description |
|
key_id |
string ID of the asymmetric KMS key that was used for decryption. |
|
plaintext |
bytes Decrypted plaintext. |