Key Management Service API, REST: AsymmetricSignatureCrypto.SignHash
Статья создана
Обновлена 17 октября 2024 г.
Signs hash value specified KMS key.
HTTP request
POST https://kms.api.cloud.yandex.net/kms/v1/asymmetricSignatureKeys/{keyId}:signHash
Path parameters
Field |
Description |
keyId |
string Required field. ID of the asymmetric KMS key to use for signature. |
Body parameters
{
"hash": "string"
}
Field |
Description |
hash |
string (bytes) Required field. Hash value to be signed. |
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. |