Search the documentation
9 pages for claude_code_use_foundry.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Quickstart
Claude Code CLI · in the page
agent-sdk/quickstart
…configure Google Cloud credentials * **Microsoft Foundry**: set `CLAUDE_CODE_USE_FOUNDRY=1` environment variable and configure Azure credentials See the setup guides for [Amazon Bedrock](/do…
Authentication
Claude Code CLI · in the page
authentication
…ntials, when `CLAUDE_CODE_USE_BEDROCK`, `CLAUDE_CODE_USE_VERTEX`, or `CLAUDE_CODE_USE_FOUNDRY` is set. See [third-party integrations](/docs/en/third-party-integrations) for setup. 2. `ANTHROPIC_AUTH_T…
Claude Code on Claude Platform on AWS
Claude Code CLI · in the page
claude-platform-on-aws
…ecedence in provider routing, so unset `CLAUDE_CODE_USE_BEDROCK` and `CLAUDE_CODE_USE_FOUNDRY` if they're set. ### 3. Pin model versions Claude Platform on AWS uses the same model IDs as the direct…
Data usage
Claude Code CLI · in the page
data-usage
…ROCK` must be 1. | Default off.<br />`CLAUDE_CODE_USE_FOUNDRY` must be 1. | Default off.<br />`CLAUDE_CODE_USE_ANTHROPIC_AWS` must be 1.…
Feature availability
Claude Code CLI · in the page
feature-availability
…ODE_USE_VERTEX` * **Microsoft Foundry**: Anthropic-operated; you set `CLAUDE_CODE_USE_FOUNDRY` ### Features available on every provider These work on every provider: * [CLI](/docs/en/quickstart) an…
Connect Claude Code to an LLM gateway
Claude Code CLI · in the page
llm-gateway-connect
…oundry export ANTHROPIC_FOUNDRY_API_KEY=sk-gateway-key export CLAUDE_CODE_USE_FOUNDRY=1 ``` </Tab> <Tab title="PowerShell"> ```powershell theme={null} $env:ANTHROPIC_FOUNDRY_B…
Gateway protocol reference
Claude Code CLI · in the page
llm-gateway-protocol
…configurations: `CLAUDE_CODE_USE_BEDROCK`, `CLAUDE_CODE_USE_VERTEX`, `CLAUDE_CODE_USE_FOUNDRY`, and [`CLAUDE_CODE_USE_MANTLE`](/docs/en/amazon-bedrock#use-the-mantle-endpoint). They have no effect beh…
Claude Code on Microsoft Foundry
Claude Code CLI · in the page
microsoft-foundry
…: ```bash theme={null} # Enable Microsoft Foundry integration export CLAUDE_CODE_USE_FOUNDRY=1 # Azure resource name (replace {resource} with your resource name) export ANTHROPIC_FOUNDRY_RESOURCE={r…
Configure server-managed settings
Claude Code CLI · in the page
server-managed-settings
…DE_USE_BEDROCK`, `CLAUDE_CODE_USE_MANTLE`, `CLAUDE_CODE_USE_VERTEX`, `CLAUDE_CODE_USE_FOUNDRY`, `CLAUDE_CODE_USE_ANTHROPIC_AWS`, or a non-default `ANTHROPIC_BASE_URL`…