Managing user and agent tokens in Dagster Cloud#

This guide is applicable to Dagster Cloud.

In this guide, we'll walk you through creating and revoking user and agent tokens in Dagster Cloud.


Managing agent tokens#

To manage agent tokens, you need one of the following user roles in Dagster Cloud:

  • Organization Admin, or
  • Editor or Admin in at least one deployment

Agent tokens are used to authenticate Hybrid agents with the Dagster Cloud Agents API.

  1. Sign in to your Dagster Cloud account.
  2. Click the user menu (your icon) > Cloud Settings.
  3. Click the Tokens tab.
  4. Click + Create agent token.

After the token is created:

  • To edit a token's description, click the pencil icon.
  • To view a token, click Reveal token. Clicking on the token value will copy it to the clipboard.
  • To revoke a token, click Revoke.

Managing user tokens#

To manage agent tokens, you need one of the following user roles in Dagster Cloud:

  • An Organization Admin, or
  • An Editor or Admin in at least one deployment

  1. Sign in to your Dagster Cloud account.
  2. Click the user menu (your icon) > Cloud Settings.
  3. Click the Tokens tab.
  4. Click + Create user token.

After the token is created:

  • To edit a token's description, click the pencil icon.
  • To view a token, click Reveal token. Clicking on the token value will copy it to the clipboard.
  • To revoke a token, click Revoke.

To manage tokens for another user, select the user from the Manage tokens for dropdown:

Note: Admin or Organization Admin permissions are required to manage another user's tokens.