{"version":"2.1.203","anchor":"anthropic-foundry-auth-token-environment-variable","canonical_anchor":"anthropic-foundry-auth-token-environment-variable","heading":"ANTHROPIC_FOUNDRY_AUTH_TOKEN Environment Variable","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.203\/e\/anthropic-foundry-auth-token-environment-variable","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.203","markdown":"### ANTHROPIC_FOUNDRY_AUTH_TOKEN Environment Variable\n\nToken-based authentication is now supported for Amazon Bedrock Foundry alongside the existing `ANTHROPIC_FOUNDRY_API_KEY`. When `ANTHROPIC_FOUNDRY_AUTH_TOKEN` is set, it is used directly as a bearer token instead of deriving credentials from the API key.\n\n**Usage**\n\n`export ANTHROPIC_FOUNDRY_AUTH_TOKEN=\"my-bearer-token\" claude` **Details** - Token-based auth is checked first; API key auth is used as fallback - Useful when a bearer token is injected by infrastructure (e.g. IAM credential vending) - Both variables are now shown in `\/doctor` **Evidence** Auth provider selection (search for `\"ANTHROPIC_FOUNDRY_AUTH_TOKEN\"`)"}