Skip to content

Commit

Permalink
Separate agent/user pages
Browse files Browse the repository at this point in the history
  • Loading branch information
dehume committed Dec 20, 2024
1 parent 6e3d231 commit 7a69f68
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 37 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,23 @@ sidebar_position: 200
unlisted: true
---

import ThemedImage from '@theme/ThemedImage';

# Managing user and agent tokens in Dagster+
# Managing agent tokens in Dagster+

:::note
This guide is applicable to Dagster+.
:::

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

## Managing agent tokens
:::note
To manage agent tokens, you need to be an{" "}
<a href="/dagster-plus/account/managing-users">Organization Admin</a> in
{/* /dagster-plus/account/managing-users */}
To manage agent tokens, you need to be an [Organization Admin](/todo.md) in
Dagster+.
:::

Agent tokens are used to authenticate [Hybrid agents](/dagster-plus/deployment/agents) with the Dagster+ Agents API.
{/* /dagster-plus/deployment/agents */}
Agent tokens are used to authenticate [Hybrid agents](/todo.md) with the Dagster+ Agents API.

### Creating agent tokens

Expand Down Expand Up @@ -52,31 +51,4 @@ To revoke a token:
2. Click the **user menu (your icon) > Organization Settings**.
3. Click the **Tokens** tab.
4. Click **Edit** next to the agent token you'd like to change.
5. Click **Revoke** in the bottom left of the permissions dialog. When prompted, confirm to proceed with revoking the token.

## Managing user tokens

1. Sign in to your Dagster+ account.
2. Click the **user menu (your icon) > Organization 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:

<ThemedImage
style={{width:'100%', height: 'auto'}}
sources={{
light: '/images/dagster-cloud/user-token-management/manage-user-tokens-for.png',
dark: '/images/dagster-cloud/user-token-management/manage-user-tokens-for.png',
}}
/>

:::note
**Organization Admin** permissions are required to manage another user's tokens.
:::
5. Click **Revoke** in the bottom left of the permissions dialog. When prompted, confirm to proceed with revoking the token.
Original file line number Diff line number Diff line change
@@ -1,7 +1,41 @@
---
title: User tokens
title: 'User tokens'
sidebar_position: 100
unlisted: true
---

{/* TODO move user token content from https://docs.dagster.io/dagster-plus/account/managing-user-agent-tokens */}
import ThemedImage from '@theme/ThemedImage';

# Managing user tokens in Dagster+

:::note
This guide is applicable to Dagster+.
:::

In this guide, we'll walk you through creating user tokens in Dagster+.

## Managing user tokens
1. Sign in to your Dagster+ account.
2. Click the **user menu (your icon) > Organization 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:

<ThemedImage
style={{width:'100%', height: 'auto'}}
sources={{
light: '/images/dagster-cloud/user-token-management/manage-user-tokens-for.png',
dark: '/images/dagster-cloud/user-token-management/manage-user-tokens-for.png',
}}
/>

:::note
**Organization Admin** permissions are required to manage another user's tokens.
:::

0 comments on commit 7a69f68

Please sign in to comment.