Unclear It is not clear what being on each list changes for a setup, or in which cases AWS_BEARER_TOKEN_BEDROCK is cleared.
What
Claude Code keeps lists of environment variables (named values set outside Claude Code) that belong to cloud provider setups such as Amazon Bedrock, Google Vertex AI and Microsoft Foundry. Those lists have changed:
ANTHROPIC_DEFAULT_MODELis now on the list of variables treated as part of the provider setup.- A new list gathers provider variables such as
AWS_REGION,CLOUD_ML_REGIONandANTHROPIC_FOUNDRY_RESOURCE. - A separate list holds
ANTHROPIC_BEDROCK_BASE_URLandANTHROPIC_BEDROCK_MANTLE_BASE_URL. - When Claude Code drops AWS login details, it now also clears
AWS_BEARER_TOKEN_BEDROCKin some cases. - That clearing step now looks at the environment variables set in your Claude Code settings and ignores any that are blank.
Why
These lists decide which variables your settings or managed configuration can override or remove, so this matters if you use Bedrock, Vertex AI or Foundry.
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
It is not clear what being on each list changes for a setup, or in which cases `AWS_BEARER_TOKEN_BEDROCK` is cleared.