Key Management Service API, REST: AsymmetricSignatureCrypto.Sign
Статья создана
Обновлена 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. |