Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 2026 Direct Cursus Technology L.L.C.
Yandex Identity and Access Management
    • Overview
      • How to choose the correct authentication method
      • IAM token
      • API key
      • Static access key
      • Security Token Service
      • Ephemeral keys
      • Authorized key
      • OAuth token
      • ID token
      • Cookie
      • Refresh token
    • Service access to user resources
    • Identity federations
    • Workload identity federations
    • Getting information about subjects
    • Quotas and limits
  • Secure use of Yandex Cloud
  • Access management
  • Pricing policy
  • Role reference
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Release notes
  1. Concepts
  2. Authentication
  3. Authorized key

Authorized keys

Written by
Yandex Cloud
Updated at September 23, 2026
View as Markdown

Note

Creating authorized keys for service accounts may be prohibited by access policies at the folder, cloud, or organization level.

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. At the same time, you cannot use authorized keys directly for authentication in the Yandex Cloud API.

The request for an authorized key will provide you with a JSON file containing the public and private parts of the key. Save this file, as you will not be able to get it again.

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.

You can get the public part of the key again using the get REST API method for the Key resource or the KeyService/Get gRPC API call. The private part of the authorized key is stored on the user end only, so you cannot request it again. In case the private part of the key is lost, create a new authorized key.

To ensure security and control over access to resources, monitor cases of unauthorized use of keys, and delete unused keys without the risk of disrupting Yandex Cloud services, you can track when service account access keys were last used. You can find this info on the service account page in the management console or in the last_used_at field when calling access key management methods via the API.

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 standard. This string makes it easy to locate secrets in case of a leak.

Use casesUse cases

  • Autoscaling an instance group to process messages in Yandex Message Queue

Useful linksUseful links

  • Creating an authorized key
  • Deleting an authorized key
  • Authenticating in the Yandex Cloud CLI as a service account
  • Getting an IAM token for a service account

Was the article helpful?

Previous
Ephemeral keys
Next
OAuth token
© 2026 Direct Cursus Technology L.L.C.