Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

33 pages for anthropic_auth_token.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

claude-in-microsoft-foundry Claude Developer Platform · in the page build-with-claude/claude-in-microsoft-foundry …thout # them, the client falls back to the ANTHROPIC_API_KEY or # ANTHROPIC_AUTH_TOKEN environment variables and could send a Claude API # credential to your Foundry endpoint. Features that Foun… On a remote host without a browser: Claude Developer Platform · in the page cli-sdks-libraries/cli/authentication …rofile and workspace are active. <Note> An `ANTHROPIC_API_KEY` or `ANTHROPIC_AUTH_TOKEN` in your environment takes precedence over every profile (see [Credential precedence](https://platform.claude… csharp Claude Developer Platform · in the page cli-sdks-libraries/sdks/csharp …``csharp using Anthropic; // Configured using the ANTHROPIC_API_KEY, ANTHROPIC_AUTH_TOKEN and ANTHROPIC_BASE_URL environment variables AnthropicClient client = new(); ``` Or manually: ```csharp usi… java Claude Developer Platform · in the page cli-sdks-libraries/sdks/java …l` system properties // Or configures using the `ANTHROPIC_API_KEY`, `ANTHROPIC_AUTH_TOKEN` and `ANTHROPIC_BASE_URL` environment variables AnthropicClient client = AnthropicOkHttpClient.fromEnv(); Me… admin-api Claude Developer Platform · in the page manage-claude/admin-api …Admin API key from `ANTHROPIC_API_KEY` or an OAuth bearer token from `ANTHROPIC_AUTH_TOKEN`. SDK list methods in Python, TypeScript, C#, Go, and Java return an iterator that fetches more pages on dema… wif-admin-api Claude Developer Platform · in the page manage-claude/wif-admin-api …```bash CLI ant auth login --profile admin --scope "org:admin" export ANTHROPIC_AUTH_TOKEN=$(ant auth print-credentials --profile admin --access-token) ``` Interactive tokens are short-lived; if requ… wif-reference Claude Developer Platform · in the page manage-claude/wif-reference …| | 2 | `ANTHROPIC_API_KEY` or `ANTHROPIC_AUTH_TOKEN` | Shadows federation entirely. Unset these when migrating from API keys.… workload-identity-federation Claude Developer Platform · in the page manage-claude/workload-identity-federation …e five-tier order: constructor arguments, then `ANTHROPIC_API_KEY` / `ANTHROPIC_AUTH_TOKEN`, then an explicit `ANTHROPIC_PROFILE`, then the federation environment variables, then the implicit active p… overview Claude Developer Platform · in the page release-notes/overview …API key from `ANTHROPIC_API_KEY` or an `org:admin` OAuth token from `ANTHROPIC_AUTH_TOKEN`. ### August 20, 2026 * We've released **v1.0 of the [Python SDK](https://platform.claude.com/docs/en/cli-s… Set up Claude Code for your organization Claude Code CLI · in the page admin-setup …either key. When set, sessions authenticated by `ANTHROPIC_API_KEY`, `ANTHROPIC_AUTH_TOKEN`, or `apiKeyHelper` are blocked at startup; cloud provider sessions aren't affected unless one of those crede… Manage multiple agents with agent view Claude Code CLI · in the page agent-view …ns as a fresh dispatch, so a session authenticated through a gateway `ANTHROPIC_AUTH_TOKEN` resumes on the gateway instead of reporting `Not logged in`. Attaching to a stopped session that was backgro… Authentication Claude Code CLI · in the page authentication …settings reference for the full behavior. * **`ANTHROPIC_API_KEY`, `ANTHROPIC_AUTH_TOKEN`, or `apiKeyHelper`**: blocked at startup. Under `forceLoginOrgUUID`, organization membership can't be verifi… Claude Code changelog Claude Code CLI · in the page changelog …people who reach Claude through a gateway (`ANTHROPIC_BASE_URL` with `ANTHROPIC_AUTH_TOKEN`) and have no Anthropic account * Fixed replies sent from `claude agents` just after a background session cra… Claude apps gateway for Amazon Bedrock, Claude Platform on AWS, Google Cloud, and Microsoft Foundry Claude Code CLI · in the page claude-apps-gateway …ngs set them, a session that authenticates with `ANTHROPIC_API_KEY`, `ANTHROPIC_AUTH_TOKEN`, or `apiKeyHelper` [exits at startup](/docs/en/errors#administrator-policy-requires-a-cloud-gateway-sign-in)… Claude apps gateway deployment and operations Claude Code CLI · in the page claude-apps-gateway-deploy …s machine` | The developer's environment sets `ANTHROPIC_API_KEY` or `ANTHROPIC_AUTH_TOKEN`, their settings configure an [`apiKeyHelper`](/docs/en/settings-reference#apikeyhelper), or an API key from… Claude Code on Claude Platform on AWS Claude Code CLI · in the page claude-platform-on-aws …forwarding to AWS. If the gateway requires its own token, set it in `ANTHROPIC_AUTH_TOKEN`. ```bash theme={null} export CLAUDE_CODE_USE_ANTHROPIC_AWS=1 export CLAUDE_CODE_SKIP_ANTHROPIC_AWS_AUTH=1 e… Environment variables Claude Code CLI · in the page env-vars …| | `ANTHROPIC_AUTH_TOKEN` | Custom value for the `Authorization` header (the value you set here will… Error reference Claude Code CLI · in the page errors …e bad value came from: * `Invalid auth token`: a bearer token from [`ANTHROPIC_AUTH_TOKEN`](/docs/en/env-vars) or [`CLAUDE_CODE_OAUTH_TOKEN`](/docs/en/env-vars) * `Invalid ANTHROPIC_CUSTOM_HEADERS`:… Speed up responses with fast mode Claude Code CLI · in the page fast-mode …ization has fast mode enabled: * A session that authenticates with [`ANTHROPIC_AUTH_TOKEN`](/docs/en/llm-gateway-connect#set-the-base-url-and-credential) alone skips the check: without a claude.ai lo… Run Claude Code through a gateway Claude Code CLI · in the page gateways …, and their claude.ai subscriptions aren't used or charged. Setting [`ANTHROPIC_AUTH_TOKEN`](/docs/en/env-vars) for a gateway you run, or signing in to a Claude apps gateway with `/login`, turns off s… Set up Claude Code (local mode) for a HIPAA-ready organization Claude Code CLI · in the page hipaa-setup …cs/en/llm-gateway) or any other custom `ANTHROPIC_BASE_URL` | No | | `ANTHROPIC_AUTH_TOKEN` or `apiKeyHelper`, on a computer with no Claude Enterprise sign-in | No | | A Claude Console API key or [fed… Connect Claude Code to an LLM gateway Claude Code CLI · in the page llm-gateway-connect …ude-code-yourself) below. * `Auth token` or `API key`: a line naming `ANTHROPIC_AUTH_TOKEN`, `ANTHROPIC_API_KEY`, or an `apiKeyHelper` confirms a gateway credential is active. A `Login method` line na… Claude Code gateway compatibility guide Claude Code CLI · in the page llm-gateway-protocol …PIC_API_KEY` or `apiKeyHelper` supplies an Anthropic Console key and `ANTHROPIC_AUTH_TOKEN` is unset | The main model | For the features each connection supports and the telemetry it sends to Anthrop… Roll out an LLM gateway for your organization Claude Code CLI · in the page llm-gateway-rollout …s in the `Authorization: Bearer` header, developers set their key in `ANTHROPIC_AUTH_TOKEN`. For a gateway that reads keys from the `x-api-key` header, developers set `ANTHROPIC_API_KEY` instead; the… Connect Claude Code to tools via MCP Claude Code CLI · in the page mcp …oud provider credentials to a server it names. If you write `Bearer ${ANTHROPIC_AUTH_TOKEN}`, the server receives `Bearer ` with no credential and rejects the request, usually with a `401`. Claude Cod… Plugin loading reference Claude Code CLI · in the page plugins/loading …l sessions, even after you sign in with `/login`: * A session where `ANTHROPIC_AUTH_TOKEN`, `CLAUDE_CODE_OAUTH_TOKEN`, or an `apiKeyHelper` script supplies the credential in place of that sign-in * A… Continue local sessions from any device with Remote Control Claude Code CLI · in the page remote-control …o this session is using API-key auth`. An `apiKeyHelper` setting and `ANTHROPIC_AUTH_TOKEN` are named the same way. Run `claude auth login` and choose the claude.ai option. If the message names `ANTH… Automate work with scheduled tasks Claude Code CLI · in the page routines …ou still see `Unknown command: /schedule`. If `ANTHROPIC_API_KEY` or `ANTHROPIC_AUTH_TOKEN` is set in your shell, or `apiKeyHelper` is set in `settings.json`, remove it first, since these take precede… Configure server-managed settings Claude Code CLI · in the page server-managed-settings …BASE_URL` * Authentication credentials, such as `ANTHROPIC_API_KEY`, `ANTHROPIC_AUTH_TOKEN`, and `CLAUDE_CODE_OAUTH_TOKEN` * The configuration-directory selector `CLAUDE_CONFIG_DIR` * Credential-sourc… Extend Claude with skills Claude Code CLI · in the page skills …login`, such as one that authenticates with an API key, or one where `ANTHROPIC_AUTH_TOKEN`, `CLAUDE_CODE_OAUTH_TOKEN`, or an `apiKeyHelper` script supplies the credential * A session that doesn't fet… Voice dictation Claude Code CLI · in the page voice-dictation …you aren't signed in with one, run `/login`. If `ANTHROPIC_API_KEY`, `ANTHROPIC_AUTH_TOKEN`, an `apiKeyHelper` setting, or a [third-party provider](#requirements) is in use, it takes precedence over a… Week 20 · May 11–15, 2026 Claude Code CLI · in the page whats-new/2026-w20 …rences are now disabled when `ANTHROPIC_API_KEY`, `apiKeyHelper`, or `ANTHROPIC_AUTH_TOKEN` is set, even alongside a claude.ai login; unset the API key to use these featuresMCP stdio servers now recei… Connect Claude Code to Claude for Government Claude Documentation · in the page government/deploy-claude-code/configure …` | A credential from earlier use is present: `ANTHROPIC_API_KEY` or `ANTHROPIC_AUTH_TOKEN` in the environment, an `apiKeyHelper` in the user's settings, or a saved Claude Console key | Remove the var…
Feedback