Key Management Service API, gRPC: AsymmetricSignatureCryptoService.Sign
Written by
Updated at October 17, 2024
Signs data specified KMS key.
gRPC request
rpc Sign (AsymmetricSignRequest) returns (AsymmetricSignResponse)
AsymmetricSignRequest
{
"keyId": "string",
"message": "bytes"
}
Field |
Description |
keyId |
string Required field. ID of the asymmetric KMS key to use for signature. |
message |
bytes Required field. Message to sign. |
AsymmetricSignResponse
{
"keyId": "string",
"signature": "bytes"
}
Field |
Description |
keyId |
string ID of the asymmetric KMS key that was used for signature. |
signature |
bytes Value of signature. |