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 Identity Hub
    • All guides
    • Subscribing a user to notifications
      • Adding an SSH key
      • Deleting an SSH key
      • Enabling refresh tokens
      • Enabling the two-factor authentication requirement for Yandex accounts
    • Syncing users and groups with Active Directory
  • 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 July 15, 2025

A refresh token is a type of credential 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 Identity Hub organization level.

Cloud Center interface
  1. Log in to Yandex Identity Hub 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
Deleting an SSH key
Next
Enabling the two-factor authentication requirement for Yandex accounts
© 2025 Direct Cursus Technology L.L.C.