Key Management Service API, gRPC: AsymmetricEncryptionKeyService.Get
Returns the specified asymmetric KMS key.
To get the list of available asymmetric KMS keys, make a [SymmetricKeyService.List] request.
gRPC request
rpc Get (GetAsymmetricEncryptionKeyRequest) returns (AsymmetricEncryptionKey)
GetAsymmetricEncryptionKeyRequest
{
"keyId": "string"
}
Field |
Description |
keyId |
string Required field. ID of the asymmetric KMS key to return. |
AsymmetricEncryptionKey
{
"id": "string",
"folderId": "string",
"createdAt": "google.protobuf.Timestamp",
"name": "string",
"description": "string",
"labels": "string",
"status": "Status",
"encryptionAlgorithm": "AsymmetricEncryptionAlgorithm",
"deletionProtection": "bool"
}
An asymmetric KMS key that may contain several versions of the cryptographic material.
Field |
Description |
id |
string ID of the key. |
folderId |
string ID of the folder that the key belongs to. |
createdAt |
Time when the key was created. |
name |
string Name of the key. |
description |
string Description of the key. |
labels |
string Custom labels for the key as |
status |
enum Status Current status of the key.
|
encryptionAlgorithm |
enum AsymmetricEncryptionAlgorithm Asymmetric Encryption Algorithm ID.
|
deletionProtection |
bool Flag that inhibits deletion of the key |