Skip to content

fix(store): resolve and refresh AWS role credentials - #60

Draft
tobi wants to merge 1 commit into
backlog/01-conditional-storagefrom
backlog/02-s3-credentials
Draft

fix(store): resolve and refresh AWS role credentials#60
tobi wants to merge 1 commit into
backlog/01-conditional-storagefrom
backlog/02-s3-credentials

Conversation

@tobi

@tobi tobi commented Sep 13, 2026

Copy link
Copy Markdown
Owner

Use the AWS default credential provider chain when both configured static-key variables are absent. Resolve identity at startup and retain the provider for refresh. Explicit complete keys take precedence; partial or empty keys fail instead of falling through to another identity.

Adapts #48. Five isolated synthetic STS/S3 credential tests pass locally, including startup failure, explicit-key precedence and refresh. No live cloud identity is claimed.

Stack layer 2/8; base: backlog/01-conditional-storage. Review the diff against this base. Combined tree at 4475bb4 passes local just ci (38 e2e tests, 19 serial simulations and standalone smoke) and the real two-instance S3 push/maintenance/clone/fsck rig. All six ignored stress/benchmark tests and all 184 full TLC checks pass locally (15 new checks across two models). The follow-up at 37bc4cc changes only two shell test assertions to Bash builtins; it passes with a minimal PATH. All eight stack heads are green in hosted CI (26 jobs). This layer’s successful run.

Review order: 01-conditional-storage02-s3-credentials03-lfs-batches04-lfs-metrics05-auth-boundaries06-dev-setup07-azure08-azure-events.

Adapt PR #48 onto conditional storage fixes. Keep explicit credentials fail-closed; retain the provider for automatic refresh. Synthetic STS/S3 credential tests: 5 passed.

Co-authored-by: Claude <noreply@anthropic.com>
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