Yandex Cloud
Search
Discuss with expertTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
    • Cloud Interconnect
    • Cloud Backup
    • Cloud Registry
    • Yandex AI Studio
    • Compute Cloud
    • Object Storage
    • Managed Service for Kubernetes®
    • Yandex BareMetal
    • Smart Web Security
    • Security Deck
    • Managed Service for PostgreSQL
    • Managed Service for ClickHouse®
    • Monium
    • Cloud CDN
    • Network Load Balancer
    • Virtual Private Cloud
    • Cloud DNS
    • Application Load Balancer
    • Yandex Cloud Video
    • Stackland
    • Yandex Cloud Router
    • Yandex Managed Service for Trino
    • Managed Service for MySQL®
    • Managed Service for Valkey™
    • Managed Service for Apache Spark™
    • Yandex StoreDoc
    • Managed Service for OpenSearch
    • Managed Service for Apache Kafka®
    • Data Transfer
    • Yandex MPP Analytics Engine for PostgreSQL
    • Yandex Managed Service for Apache Airflow®
    • Data Processing
    • Yandex MetaData Hub
    • Managed Service for YDB
    • Managed Service for Sharded PostgreSQL
    • Managed Service for YTsaurus
    • Yandex WebSQL
    • DataLens
    • Yandex Search API
    • SpeechSense
    • SpeechKit
    • DataSphere
    • Vision OCR
    • Translate
    • Yandex Identity Hub
    • Key Management Service
    • Certificate Manager
    • Yandex Lockbox
    • Audit Trails
    • SmartCaptcha
    • Cloud Desktop
    • SourceCraft Code Assistant
    • Container Registry
    • Managed Service for GitLab
    • Managed Service for Prometheus®
    • Cloud Functions
    • API Gateway
    • Yandex Cloud Postbox
    • Message Queue
    • Serverless Integrations
    • IoT Core
    • Data Streams
    • Serverless Containers
    • Cloud Notification Service
    • Yandex Query
    • Identity and Access Management
    • Yandex Cloud Console
    • Resource Manager
    • Yandex Cloud Billing
    • Yandex Cloud Quota Manager
    • Cloud Apps
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • 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
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 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
    • Quotas and limits
  • Secure use of Yandex Cloud
  • Access management
  • Pricing policy
  • Role reference
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Release notes

In this article:

  • OAuth token format
  • Lifetime
  • Services and utilities that support OAuth token authentication
  • Use cases
  1. Concepts
  2. Authentication
  3. OAuth token

OAuth token

Written by
Yandex Cloud
Updated at July 8, 2026
View in Markdown
  • OAuth token format
  • Lifetime
  • Services and utilities that support OAuth token authentication
  • Use cases

OAuth token authentication is no longer supported

Starting June 1, 2026, the authentication service no longer accepts new OAuth tokens received via YandexID. Tokens issued before June 1, 2026 will remain valid until their expiration date.

In Yandex Cloud, an OAuth token is used to authenticate users with a Yandex account: the user exchanges an OAuth token for an IAM token.

You can get an OAuth token for Yandex Cloud by submitting a request to Yandex OAuth.

OAuth tokens are not available for federated users and service accounts.

OAuth token formatOAuth token format

The token always starts with a y, a random number in the 0-3 range, and an underscore (_). Other characters may include:

  • Latin letters.
  • Numbers.
  • Underscores (_) and hyphens (-).

For example, an OAuth token may look like this: y3_Vdheub7w9bIut67GHeL345gfb5GAnd3dZnf08FRbvjeUFvetYiohGvc.

LifetimeLifetime

An OAuth token lives 12 months. After that, you need to get a new one and get authenticated again.

Alert

If someone could have learned your OAuth token, revoke it and get a new one by following the instructions.

Services and utilities that support OAuth token authenticationServices and utilities that support OAuth token authentication

These services and utilities can request an IAM token automatically, so you can only specify an OAuth token for authentication:

  • Yandex Cloud CLI
  • Yandex Container Registry
  • Terraform
  • Packer
  • GitLab CI

Use casesUse cases

  • Running a Docker image on a VM
  • Developing CRUD APIs for a movie service

Useful linksUseful links

  • Learn more about Yandex OAuth here.

Was the article helpful?

Previous
Authorized key
Next
ID token
© 2026 Direct Cursus Technology L.L.C.