Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 2026 Direct Cursus Technology L.L.C.
Yandex Identity and Access Management
    • All guides
    • Getting information about subjects
    • Processing secrets that have become publicly available
    • Users
    • User groups
      • Overview
        • Overview
        • Getting a list of refresh tokens
        • Revoking a refresh token
      • Managing static access keys
      • Managing API keys
      • Managing authorized keys
      • Creating a temporary access key using Security Token Service
      • Managing ephemeral access keys
  • Secure use of Yandex Cloud
  • Access management
  • Pricing policy
  • Role reference
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Release notes
  1. Step-by-step guides
  2. Authentication
  3. Refresh tokens
  4. Getting a list of refresh tokens

Getting a list of refresh tokens

Written by
Yandex Cloud
Updated at November 2, 2026
View in Markdown

Note

Once issued in the application, refresh tokens are automatically added to the user profile.

To get a list of refresh tokens for a federated or local user:

Cloud Center UI
CLI
API
  1. Log in to Yandex Identity Hub using an administrator or organization owner account.
  2. In the left-hand panel, click Users.
  3. Locate the user in the list. Use the filter or search bar at the top of the screen as needed.
  4. Navigate to the Refresh tokens tab.
  5. Optionally, in the Search by client field, enter the name of the OAuth application for which you want to get the list of refresh tokens.
  6. Optionally, in the Search by client ID field, enter the ID of the OAuth application for which you want to get the list of refresh tokens. For example, specify yc.oauth.public-sdk for the Yandex Cloud CLI.
  7. Optionally, to change the displayed columns, click in the top-right corner of the list.

If you do not have the Yandex Cloud CLI yet, install and initialize it.

  1. View the description of the command for viewing a list of refresh tokens:

    yc iam refresh-token list --help
    
  2. To view a list of refresh tokens, run this command:

    Note

    You can run the yc iam refresh-token list command without any additional filter settings. In this case, it will return a list of all refresh tokens for the user currently authenticated in the Yandex Cloud CLI.

    yc iam refresh-token list \
      --subject-id <user_ID> \
      --client-id <OAuth_app_ID> \
      --client-instance-info <OAuth_app_version> \
      --protection-level <DPoP_protection_level>
    

    Where:

    • --subject-id: ID of the federated or local user to get a list of refresh tokens for. This is an optional setting. If you skip it, the system will display a list of refresh tokens for the user currently authenticated in the Yandex Cloud CLI.

      By default, any federated user can view a list of their refresh tokens. To view lists of other users’ refresh tokens, a user needs one of the following roles for the organization: organization-manager.admin, organization-manager.viewer, or iam.userAccounts.refreshTokenViewer.

    • --client-id: ID of the OAuth application you want to get a list of refresh tokens for, e.g., yc.oauth.public-sdk for the Yandex Cloud CLI. This is an optional setting.

    • --client-instance-info: Version ID of the OAuth application you want to get a list of refresh tokens for, e.g., yc/0.141.0. This is an optional setting.

    • --protection-level: Protection level of the DPoP key for the refresh tokens whose list you want to get. This is an optional setting. The possible values are:

      • INSECURE_KEY_DPOP: DPoP key is stored in the user’s local file system.
      • SECURE_KEY_DPOP: DPoP key is stored on a YubiKey.
      • NO_PROTECTION: No DPoP key is used.

    Result:

    Please touch yubikey OK
    +--------------------------------------+----------------------+----------------------+----------------------+---------------------+---------------------+---------------------+------------------+
    |                  ID                  |      SUBJECT ID      |      CLIENT ID       | CLIENT INSTANCE INFO |     CREATED AT      |     EXPIRES AT      |    LAST USED AT     | PROTECTION LEVEL |
    +--------------------------------------+----------------------+----------------------+----------------------+---------------------+---------------------+---------------------+------------------+
    | e2675ad9-f51b-48c7-96f4-90ff******** | bfbud0oddqnn******** | yc.oauth.public-sdk  | yc/0.141.0           | 2025-01-28 14:44:00 | 2025-02-28 14:44:00 | 2025-01-28 14:44:00 | SECURE_KEY_DPOP  |
    | 8799515e-1c2e-4530-985e-ce43******** | bfbud0oddqnn******** | yc.oauth.public-sdk  | yc/0.141.0           | 2025-01-28 14:41:00 | 2025-02-28 14:41:00 | 2025-01-28 14:42:26 | SECURE_KEY_DPOP  |
    | d4c16879-5e64-40b0-9ee3-ed6a******** | bfbud0oddqnn******** | yc.oauth.public-sdk  | yc/0.141.0           | 2024-12-26 08:34:47 | 2025-01-26 08:34:47 | 2024-12-26 08:34:47 | SECURE_KEY_DPOP  |
    +--------------------------------------+----------------------+----------------------+----------------------+---------------------+---------------------+---------------------+------------------+
    

Use the list REST API method for the RefreshToken resource or the RefreshTokenService/List gRPC API call.

You can also view a list of your refresh tokens through the My account portal. This feature is available to all user categories including Yandex account users.

Was the article helpful?

Previous
Overview
Next
Revoking a refresh token
© 2026 Direct Cursus Technology L.L.C.