[DOCS] Missing `ANTHROPIC_FOUNDRY_RESOURCE` and `ANTHROPIC_FOUNDRY_BASE_URL` in Settings Environment Variables Table
Documentation Type
Missing documentation (feature not documented)
Documentation Location
https://code.claude.com/docs/en/settings#environment-variables
Section/Topic
The "Environment variables" reference table at the bottom of the Settings documentation.
Current Documentation
The table currently lists the following variables for Microsoft Foundry configuration:
| Variable | Purpose |
| :--- | :--- |
| ANTHROPIC_FOUNDRY_API_KEY | API key for Microsoft Foundry authentication (see [Microsoft Foundry](/en/microsoft-foundry)) |
| CLAUDE_CODE_SKIP_FOUNDRY_AUTH | Skip Azure authentication for Microsoft Foundry (for example, when using an LLM gateway) |
| CLAUDE_CODE_USE_FOUNDRY | Use [Microsoft Foundry](/en/microsoft-foundry) |
What's Wrong or Missing?
The Microsoft Foundry integration guide (https://code.claude.com/docs/en/microsoft-foundry) explicitly states that ANTHROPIC_FOUNDRY_RESOURCE (or alternatively ANTHROPIC_FOUNDRY_BASE_URL) is required to configure the connection.
However, these critical variables are missing from the central "Environment variables" reference table in the Settings documentation. Users relying on the Settings page as a "source of truth" for configuration will fail to set up Foundry correctly.
Suggested Improvement
Please add the following rows to the Environment variables table in docs/en/settings.md:
| Variable | Purpose |
| :--- | :--- |
| ANTHROPIC_FOUNDRY_RESOURCE | Azure resource name used to construct the endpoint URL. Required if ANTHROPIC_FOUNDRY_BASE_URL is not set. |
| ANTHROPIC_FOUNDRY_BASE_URL | Full base URL for the Azure resource (e.g. https://{resource}.services.ai.azure.com). Alternative to setting ANTHROPIC_FOUNDRY_RESOURCE. |
Impact
High - Prevents users from using a feature
Additional Context
- Related Documentation: The variables are correctly documented in the Setup section here: https://code.claude.com/docs/en/microsoft-foundry#3-configure-claude-code
- Impact: This creates a disconnect between the specific integration guide and the global configuration reference.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗