ANTHROPIC_FOUNDRY_AUTH_TOKEN Environment Variable#
What's wrong with this entry?
Token-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.
export ANTHROPIC_FOUNDRY_AUTH_TOKEN="my-bearer-token"
claude- 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
Auth provider selection (search for "ANTHROPIC_FOUNDRY_AUTH_TOKEN")
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.