Key Management Service API, gRPC: AsymmetricEncryptionCryptoService.GetPublicKey
Статья создана
Обновлена 17 октября 2024 г.
Gets value of public key.
gRPC request
rpc GetPublicKey (AsymmetricGetPublicKeyRequest) returns (AsymmetricGetPublicKeyResponse)
AsymmetricGetPublicKeyRequest
{
"keyId": "string"
}
Field |
Description |
keyId |
string Required field. ID of the asymmetric KMS key to be used for public key retrieval. |
AsymmetricGetPublicKeyResponse
{
"keyId": "string",
"publicKey": "string"
}
Field |
Description |
keyId |
string ID of the asymmetric KMS key to get public key of. |
publicKey |
string Public key value. |