Skip to content

Harden Bedrock credentials and preserve AWS region provenance - #50

Merged
wch merged 3 commits into
mainfrom
bedrock-region-provenance
Aug 7, 2026
Merged

Harden Bedrock credentials and preserve AWS region provenance#50
wch merged 3 commits into
mainfrom
bedrock-region-provenance

Conversation

@wch

@wch wch commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

Follow-up to #49 with two commits that were made locally after that PR's branch was last pushed, so they missed the squash merge:

  • Harden Bedrock discovery and credentials — adds an update-aws variant to CredentialMutation in ai-credentials (region/profile update with replace/clear/preserve semantics for manual keys), implements it in the store backend, and hardens the Bedrock provider's inference-profile discovery and credential handling.
  • Preserve AWS region configuration provenanceai-config now exposes connectionProvenance on resolved providers, recording whether the effective AWS region came from deliberate configuration or only ambient AWS_REGION env. Downstream (assistant monorepo) uses this so a region-only shell setting doesn't mark Bedrock as configured.

These changes are required by the assistant monorepo's aws-regions work (posit-dev/assistant#2002); its packages/node auth code already references update-aws and connectionProvenance.

@wch
wch enabled auto-merge (squash) August 7, 2026 21:30
@wch
wch merged commit fd8a00b into main Aug 7, 2026
4 checks passed
@wch
wch deleted the bedrock-region-provenance branch August 7, 2026 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant