Search the documentation
5 pages for anthropic_foundry_api_key.
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
…ese from the following environment variables if they are defined: * `ANTHROPIC_FOUNDRY_API_KEY` - Your API key * `ANTHROPIC_FOUNDRY_RESOURCE` - Your resource name (for example, `example-resource`) *…
Environment variables
Claude Code CLI · in the page
env-vars
…| | `ANTHROPIC_FOUNDRY_API_KEY` | API key for Microsoft Foundry authentication (see [Microsoft Foundry](/do…
Connect Claude Code to an LLM gateway
Claude Code CLI · in the page
llm-gateway-connect
…UTH_TOKEN` after the block, except for Microsoft Foundry, which uses `ANTHROPIC_FOUNDRY_API_KEY` as shown. #### Amazon Bedrock <Tabs> <Tab title="Bash or Zsh"> ```bash theme={null} export…
Claude Code on Microsoft Foundry
Claude Code CLI · in the page
microsoft-foundry
…-azure-api-key` with the key you copied: ```bash theme={null} export ANTHROPIC_FOUNDRY_API_KEY=your-azure-api-key ``` **Option B: Microsoft Entra ID authentication** When neither `ANTHROPIC_FOUNDRY…
Troubleshoot installation and login
Claude Code CLI · in the page
troubleshoot-install
…d auth application-default login ``` For Microsoft Foundry, confirm `ANTHROPIC_FOUNDRY_API_KEY` is set, or sign in with the Azure CLI so the default credential chain can find your account: ```bash t…