Skip to content

feat: fail-fast AWS credential validation - #16

Merged
dgates82 merged 3 commits into
mainfrom
feature/9-validate-aws-credential-chain
Jul 17, 2026
Merged

feat: fail-fast AWS credential validation#16
dgates82 merged 3 commits into
mainfrom
feature/9-validate-aws-credential-chain

Conversation

@dgates82

Copy link
Copy Markdown
Owner

Closes #9

Changes

  • SecretsManagerService and SecretsManagerServiceFactory.Create now validate
    AWS credential availability at construction time, throwing a clear
    InvalidOperationException immediately instead of failing on first secret request
  • README updated with credential resolution order and fail-fast behavior documentation
  • CHANGELOG finalized for the v1.0.0 release

dgates82 added 3 commits July 17, 2026 18:10
Add credential-chain validation to BuildClient. When no explicit
AccessKey/SecretKey is set, checks the AWS SDK's default credential
chain via DefaultAWSCredentialsIdentityResolver.GetCredentials and
throws InvalidOperationException if nothing resolves, instead of
failing several calls deep on the first GetSecretAsync.
@dgates82
dgates82 merged commit 8fa08e1 into main Jul 17, 2026
4 checks passed
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.

feat: validate AWS credential chain at SecretsManagerServiceFactory.Create, fail fast with a clear error

1 participant