{"version":"2.1.323","anchor":"awsauthrefresh-env-tracking-reads-aws-profile-through-a-help","canonical_anchor":"awsauthrefresh-env-tracking-reads-aws-profile-through-a-help","heading":"AWS profile and region can now come from settings-provided environment values","tier":"notice","area":"Bedrock","scope":"org","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.323\/e\/awsauthrefresh-env-tracking-reads-aws-profile-through-a-help","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.323","markdown":"### AWS profile and region can now come from settings-provided environment values\n\nAWS_PROFILE is read through a helper in several places, and new helpers read AWS_PROFILE, AWS_REGION and endpoint options from settings and AWS config\n\n**Unclear.** It is not clear whether an `AWS_PROFILE` set somewhere other than your shell, such as in Claude Code settings, now counts for this check.\n\n**What**\n\n`AWS_PROFILE` names which AWS account profile to use, for example with Amazon Bedrock. Claude Code now reads it, and related AWS values, through a helper instead of straight from its own environment.\n\n- `awsAuthRefresh`: the watcher that decides when your own credential-refresh command should run now reads `AWS_PROFILE` through the helper.\n\n- Credential setup check: the check of your AWS credential configuration also reads `AWS_PROFILE` through the helper.\n\n- New AWS helpers: new code reads `AWS_PROFILE` and `AWS_REGION` from the environment values in your settings, and loads `endpoint_url`, FIPS and dualstack options from the AWS config files for that profile, for Bedrock and AWS STS (the AWS service that hands out temporary credentials). `AWS_ENDPOINT_URL` also appears.\n\n**Why**\n\nThe members suggest an `AWS_PROFILE` or `AWS_REGION` set in Claude Code settings, not only in your shell, may now be the one that is used and that triggers a credential refresh. If you use Bedrock with custom endpoints, FIPS or dualstack options in your AWS config, those may now be picked up for the chosen profile.\n\n- Area: Bedrock\n- Names: `awsAuthRefresh`, `AWS_PROFILE`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: org\n- Heads-up: no"}