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
{
"key_id": "string"
}
Field |
Description |
key_id |
string Required field. ID of the asymmetric KMS key to return. |
AsymmetricEncryptionKey
{
"id": "string",
"folder_id": "string",
"created_at": "google.protobuf.Timestamp",
"name": "string",
"description": "string",
"labels": "map<string, string>",
"status": "Status",
"encryption_algorithm": "AsymmetricEncryptionAlgorithm",
"deletion_protection": "bool"
}
An asymmetric KMS key that may contain several versions of the cryptographic material.
Field |
Description |
id |
string ID of the key. |
folder_id |
string ID of the folder that the key belongs to. |
created_at |
Time when the key was created. |
name |
string Name of the key. |
description |
string Description of the key. |
labels |
object (map<string, string>) Custom labels for the key as |
status |
enum Status Current status of the key.
|
encryption_algorithm |
enum AsymmetricEncryptionAlgorithm Asymmetric Encryption Algorithm ID.
|
deletion_protection |
bool Flag that inhibits deletion of the key |