Key Management Service API, REST: AsymmetricSignatureCrypto.Sign
Written by
Updated at October 17, 2024
Signs data specified KMS key.
HTTP request
POST https://kms.api.cloud.yandex.net/kms/v1/asymmetricSignatureKeys/{keyId}:sign
Path parameters
Field |
Description |
keyId |
string Required field. ID of the asymmetric KMS key to use for signature. |
Body parameters
{
"message": "string"
}
Field |
Description |
message |
string (bytes) Required field. Message to sign. |
Response
HTTP Code: 200 - OK
{
"keyId": "string",
"signature": "string"
}
Field |
Description |
keyId |
string ID of the asymmetric KMS key that was used for signature. |
signature |
string (bytes) Value of signature. |