Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex Monitoring
  • Getting started
  • Access management
    • Authentication in the API
  • Pricing policy
  • Terraform reference
  • Release notes

In this article:

  • IAM token
  • API key
  1. API reference
  2. Authentication in the API

Authentication in the Yandex Cloud API

Written by
Yandex Cloud
Updated at October 29, 2025
  • IAM token
  • API key

To work via the API, you can use an IAM token or an API key. You can use any of these authentication methods to work with Prometheus.

IAM tokenIAM token

An IAM token is a unique sequence of characters issued to the user following authentication.

How to get an IAM token:

  • Guide for Yandex accounts.
  • Guide for service accounts.
  • Guide for a federated or local account.

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

Authorization: Bearer <IAM_token>

API keyAPI key

The API key is a secret key only used for simplified authorization of service accounts with the Yandex Cloud API.

Guide to obtaining an API key for service accounts.

See alsoSee also

Accounts in Yandex Cloud

Was the article helpful?

Previous
Access management
Next
Overview
© 2025 Direct Cursus Technology L.L.C.