Unclear Whether CLAUDE_CODE_SKIP_AWS_CRED_CACHE still has any effect, and how the new credential lookup caches credentials, is not clear.
What
Claude Code can talk to Claude through third-party providers such as Amazon Bedrock, Mantle and Google Vertex. How it connects to them changed:
- The Bedrock, Mantle and Vertex connections now add a shared set of headers (extra labels sent with each request).
- If
ANTHROPIC_API_KEYis set, its value is sent as anX-Api-Keyheader, unless a header of that name is already present. This is useful when a gateway sits between Claude Code and the provider. - The checks that test whether Bedrock and Mantle are reachable now report what went wrong, not only yes or no.
- The special handling for
CLAUDE_CODE_SKIP_AWS_CRED_CACHE, which used to skip the cached AWS credentials, has been replaced by one shared way of looking up AWS credentials.
Why
If you use a third-party provider, how Claude Code authenticates may behave differently. This matters most if you have ANTHROPIC_API_KEY set or rely on CLAUDE_CODE_SKIP_AWS_CRED_CACHE.
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
Whether `CLAUDE_CODE_SKIP_AWS_CRED_CACHE` still has any effect, and how the new credential lookup caches credentials, is not clear.