Key Management Service API, REST: AsymmetricEncryptionCrypto.GetPublicKey
Written by
Updated at October 17, 2024
Gets value of public key.
HTTP request
GET https://kms.api.cloud.yandex.net/kms/v1/asymmetricEncryptionKeys/{keyId}/publicKey
Path parameters
Field |
Description |
keyId |
string Required field. ID of the asymmetric KMS key to be used for public key retrieval. |
Response
HTTP Code: 200 - OK
{
"keyId": "string",
"publicKey": "string"
}
Field |
Description |
keyId |
string ID of the asymmetric KMS key to get public key of. |
publicKey |
string Public key value. |