Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex Cloud Organization
  • Getting started
    • All guides
    • Subscribing a user to notifications
      • Adding an SSH key
      • Enabling refresh tokens
  • Access management
  • Pricing policy
  • Terraform reference
  • Audit Trails events
  • Release notes
  1. Step-by-step guides
  2. Authentication
  3. Enabling refresh tokens

Enabling the use of refresh tokens in the Yandex Cloud CLI

Written by
Yandex Cloud
Updated at March 31, 2025

Refresh token is a type of credentials that allows an OAuth application to automatically obtain a new IAM token after the user's IAM token expires.

To allow federated users to use refresh tokens in the Yandex Cloud CLI, enable this feature at the Cloud Organization organization level.

Cloud Center interface
  1. Log in to Yandex Cloud Organization with an administrator or organization owner account.

    Switch to an organization of your choice as required.

  2. In the left-hand panel, select Security settings.

  3. Under Authentication settings, check Enable refresh tokens.

  4. Optionally, to use enhanced refresh token security using DPoP keys with their obligatory storage on a YubiKey, enable Allow DPoP key storage only on YubiKeys.

    With this option disabled, you can use DPoP keys saved both on a YubiKey and the user's local file system to ensure refresh token security.

To allow federated users to use refresh tokens in the Yandex Cloud CLI, each user must initialize DPoP after you enable this option at the organization level.

Was the article helpful?

Previous
Adding an SSH key
Next
Enabling access via OS Login
© 2025 Direct Cursus Technology L.L.C.