11 pages for anthropic_profile.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Before
Claude Developer Platform · in the page
api/migration-2026-10-21
…sed:** `ANTHROPIC_API_KEY`, `ANTHROPIC_AUTH_TOKEN`, the profile that `ANTHROPIC_PROFILE` names, the workload identity federation variables, the active profile on disk (the one the `active_config` file…
anthropic-managed
Claude Developer Platform · in the page
build-with-claude/claude-models-on-google-cloud/anthropic-managed
…e is set: * An API key * An authentication token * `--profile` or `ANTHROPIC_PROFILE`, if it names a [configuration profile](https://platform.claude.com/docs/en/manage-claude/wif-reference#profile-…
On a remote host without a browser:
Claude Developer Platform · in the page
cli-sdks-libraries/cli/authentication
…mand without changing the default: ant --profile other-ws models list ANTHROPIC_PROFILE=other-ws ant models list ``` Run [`ant auth status`](https://platform.claude.com/docs/en/cli-sdks-libraries/cli…
using
Claude Developer Platform · in the page
cli-sdks-libraries/cli/using
…| Named profile to use for this command (equivalent to setting `ANTHROPIC_PROFILE`). See [Switch between workspaces](https://platform.claude.com/docs/en/cli-sdks-libraries/cli/authentication#swi…
wif-reference
Claude Developer Platform · in the page
manage-claude/wif-reference
…se its `wrkspc_...` ID. | `wrkspc_...` | | `ANTHROPIC_PROFILE` | No | Name of a [configuration profile](https://platform.claude.com/…
workload-identity-federation
Claude Developer Platform · in the page
manage-claude/workload-identity-federation
…then `ANTHROPIC_API_KEY` / `ANTHROPIC_AUTH_TOKEN`, then an explicit `ANTHROPIC_PROFILE`, then the federation environment variables, then the implicit active profile. The first source that yields a cr…
Authentication
Claude Code CLI · in the page
authentication
…**Which profile it writes**: Claude Code writes the profile named by `ANTHROPIC_PROFILE`, or your active profile, or `default`. If that profile is a federation profile, Claude Code refuses the sign-in…
Environment variables
Claude Code CLI · in the page
env-vars
…| | `ANTHROPIC_PROFILE` | Name of the Anthropic profile to authenticate with, such as one created b…
Error reference
Claude Code CLI · in the page
errors
…redential source and profile name * To stop using the profile, unset `ANTHROPIC_PROFILE` if you set it, then authenticate another way, such as `/login` or `ANTHROPIC_API_KEY` How the message starts t…
Connect Claude Code to tools via MCP
Claude Code CLI · in the page
mcp
…such as Amazon Bedrock or Google Cloud's Agent Platform is active * `ANTHROPIC_PROFILE`, the federation variables, or an active [Anthropic profile](/docs/en/authentication.md#anthropic-profiles-and-f…
Configure server-managed settings
Claude Code CLI · in the page
server-managed-settings
…C_IDENTITY_TOKEN`, the profile and configuration-directory selectors `ANTHROPIC_PROFILE` and `ANTHROPIC_CONFIG_DIR`, and the operating-system directory variables `HOME`, `XDG_CONFIG_HOME`, `APPDATA`,…