7 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
…hem 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`) *…
go
Claude Developer Platform · in the page
cli-sdks-libraries/sdks/go
…ovider` for Microsoft Entra ID) and `Resource` on the config, or the `ANTHROPIC_FOUNDRY_API_KEY` and `ANTHROPIC_FOUNDRY_RESOURCE` environment variables. Use `bedrock.NewMantleClient` for new projects…
Environment variables
Claude Code CLI · in the page
env-vars
…| | `ANTHROPIC_FOUNDRY_API_KEY` | API key for Microsoft Foundry authentication (see [Microsoft Foundry](/do…
Error reference
Claude Code CLI · in the page
errors
…iled · refresh your Foundry credential (ANTHROPIC_FOUNDRY_AUTH_TOKEN, ANTHROPIC_FOUNDRY_API_KEY, Azure sign-in for Entra, or your proxy token) and retry · if credentials are current, check access to t…
Connect Claude Code to an LLM gateway
Claude Code CLI · in the page
llm-gateway-connect
…r `ANTHROPIC_CUSTOM_HEADERS` would add. * **Microsoft Foundry**: use `ANTHROPIC_FOUNDRY_API_KEY` as [its block](#microsoft-foundry) shows #### Amazon Bedrock Leave `AWS_BEARER_TOKEN_BEDROCK` unset w…
Claude Code on Microsoft Foundry
Claude Code CLI · in the page
microsoft-foundry
…key): you copy a key from the Microsoft Foundry portal and set it as `ANTHROPIC_FOUNDRY_API_KEY` * [Microsoft Entra ID](#use-microsoft-entra-id): Claude Code gets tokens through the Azure SDK default…
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…