Search the documentation
9 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.
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 invocation (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
…equires a new exchange. | `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
…file that `ant auth login` wrote ranks here only when you name it in `ANTHROPIC_PROFILE`; otherwise it ranks below `/login`. See [Anthropic profiles and federation credentials](#anthropic-profiles-and…
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
…comes from an Anthropic credential profile, one you select with the `ANTHROPIC_PROFILE` environment variable or that Claude Code discovers as the active profile in your Anthropic configuration direct…
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#anthropic-profiles-and-fede…
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`,…