Key Management Service API, gRPC: AsymmetricSignatureCryptoService.Sign
Статья создана
Обновлена 26 ноября 2024 г.
Signs data specified KMS key.
gRPC request
rpc Sign (AsymmetricSignRequest) returns (AsymmetricSignResponse)
AsymmetricSignRequest
{
"key_id": "string",
"message": "bytes"
}
Field |
Description |
key_id |
string Required field. ID of the asymmetric KMS key to use for signature. |
message |
bytes Required field. Message to sign. |
AsymmetricSignResponse
{
"key_id": "string",
"signature": "bytes"
}
Field |
Description |
key_id |
string ID of the asymmetric KMS key that was used for signature. |
signature |
bytes Value of signature. |