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