Skip to content

Commit 40bee07

Browse files
betegonclaude
andcommitted
docs: fix "(legacy)" label on env var precedence
SENTRY_TOKEN is the new env var (inspired by GITHUB_TOKEN), while SENTRY_AUTH_TOKEN is the legacy one. The label was on the wrong variable. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent a254576 commit 40bee07

File tree

1 file changed

+2
-2
lines changed
  • docs/src/content/docs/commands

1 file changed

+2
-2
lines changed

docs/src/content/docs/commands/auth.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ Use `sentry auth token` to retrieve your current access token, or `sentry auth s
9494

9595
The CLI checks for auth tokens in the following order, using the first one found:
9696

97-
1. `SENTRY_AUTH_TOKEN` environment variable
98-
2. `SENTRY_TOKEN` environment variable (legacy)
97+
1. `SENTRY_AUTH_TOKEN` environment variable (legacy)
98+
2. `SENTRY_TOKEN` environment variable
9999
3. The stored token in the SQLite database
100100

101101
When a token comes from an environment variable, the CLI skips expiry checks and automatic refresh.

0 commit comments

Comments
 (0)