Key Management Service API, REST: AsymmetricEncryptionKey.Get
Returns the specified asymmetric KMS key.
To get the list of available asymmetric KMS keys, make a [SymmetricKeyService.List] request.
HTTP request
GET https://kms.api.cloud.yandex.net/kms/v1/asymmetricEncryptionKeys/{keyId}
Path parameters
Field |
Description |
keyId |
string Required field. ID of the asymmetric KMS key to return. |
Response
HTTP Code: 200 - OK
{
"id": "string",
"folderId": "string",
"createdAt": "string",
"name": "string",
"description": "string",
"labels": "object",
"status": "string",
"encryptionAlgorithm": "string",
"deletionProtection": "boolean"
}
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 |
string (date-time) Time when the key was created. String in RFC3339 To work with values in this field, use the APIs described in the |
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.
|
encryptionAlgorithm |
enum (AsymmetricEncryptionAlgorithm) Asymmetric Encryption Algorithm ID.
|
deletionProtection |
boolean Flag that inhibits deletion of the key |