Authorized keys
Authorized keys are keys with the RSA-2048 or RSA-4096 encryption algorithm and unlimited validity. These keys are used when requesting an IAM token for a service account. Some Yandex Cloud services, such as Yandex Managed Service for YDB, use authorized keys for authentication.
After you request an authorized key, you will get a JSON file with public and private key parts. Save this file. You only get it once and cannot download it later.
You can request the public part of the key using the get REST API method for the Key resource or the KeyService/Get gRPC API call. You cannot request the private part of the key, as it is stored on the user side. If you need the private part of the key but cannot access the previously saved file, create a new authorized key.
In the management console
Warning
The private part of the key is confidential information that allows you to perform operations in Yandex Cloud. It is important to store it securely.
The private part of an authorized Yandex Cloud key starts with PLEASE DO NOT REMOVE THIS LINE! Yandex.Cloud SA Key ID…
according to the RFC 7468
Services that support this authentication method
The following services support authentication based on authorized keys: