Yandex Cloud
  • Services
  • Solutions
  • Why Yandex Cloud
  • Pricing
  • Documentation
  • Contact us
Get started
Language / Region
© 2022 Yandex.Cloud LLC
Yandex Resource Manager
  • Getting started
  • Step-by-step instructions
    • All instructions
    • Cloud
      • Creating a cloud
      • Rename a cloud
      • Deleting a cloud
      • Canceling cloud deletion
      • Setting up access rights
      • Switch clouds
      • Changing an organization for a cloud
      • Cloud incident notifications
    • Folders
      • Creating a folder
      • Updating a folder
      • How to set up access rights
      • Getting the folder ID
      • Folder incident notifications
  • Concepts
    • Hierarchy of Yandex Cloud resources
    • Notifications from Yandex Cloud
    • Quotas and limits
  • Access management
  • Pricing policy
  • API reference
    • Authentication in the API
    • gRPC
      • Overview
      • CloudService
      • FolderService
      • OperationService
    • REST
      • Overview
      • Cloud
        • Overview
        • create
        • get
        • list
        • listAccessBindings
        • listOperations
        • setAccessBindings
        • update
        • updateAccessBindings
      • Folder
        • Overview
        • create
        • delete
        • get
        • list
        • listAccessBindings
        • listOperations
        • setAccessBindings
        • update
        • updateAccessBindings
  • Questions and answers
  1. API reference
  2. Authentication in the API

Authentication in the API

Written by
Yandex Cloud

    To perform operations via the API, you need to get an IAM token:

    • Instructions for a Yandex account.
    • Instructions for a service account.
    • Instructions for a federated account.

    Specify the received IAM token when accessing Yandex Cloud resources via the API. Pass the IAM token in the Authorization header in the following format:

    Authorization: Bearer <IAM token>
    

    See also

    Accounts in Yandex Cloud.

    Was the article helpful?

    Language / Region
    © 2022 Yandex.Cloud LLC