Kralizek / Kralizek/AWSSecretsManagerConfigurationExtensions

AWS Secrets Manager Configuration Extensions 2.0 is now generally available

Open
#143 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

announcement
Dominant language
C#
Stars
260
Forks
54
Avg merge
5h 56m
Merged PRs (30d)
5

Description

AWS Secrets Manager Configuration Extensions 2.0 is now generally available

Version 2.0.0 of Kralizek.Extensions.Configuration.AWSSecretsManager is now generally available.

This release is a major refresh of the library, with a more explicit provider model, AWS SDK v4 support, improved diagnostics, OpenTelemetry support, batch retrieval, duplicate-key handling, and clearer behavior around secret identifiers and provider modes.

Install

dotnet add package Kralizek.Extensions.Configuration.AWSSecretsManager --version 2.0.0

NuGet: https://www.nuget.org/packages/Kralizek.Extensions.Configuration.AWSSecretsManager/2.0.0

Provider modes

Version 2.0 introduces a clearer split between the supported provider modes:

  • AddSecretsManagerDiscovery(...) discovers secrets through ListSecrets.
  • AddSecretsManagerKnownSecret(...) loads one explicitly configured secret.
  • AddSecretsManagerKnownSecrets(...) loads a configured set of secrets.

Use discovery when the application should enumerate secrets. Use a known-secret provider when the application already knows exactly which secrets it needs.

Highlights

  • AWS SDK for .NET v4 support
  • BatchGetSecretValue support where appropriate
  • duplicate-key behavior through DuplicateKeyHandling
  • structured diagnostic events through SecretsManagerLogEvent
  • OpenTelemetry tracing and metrics
  • support for secret names, full ARNs, and partial ARNs where supported by AWS
  • clearer handling of deleted or scheduled-for-deletion secrets
  • updated guidance for migrating from the 1.x provider model

Compatibility

Version 2.0 is a major release and contains breaking changes from 1.x. In particular, the provider APIs are now intentionally explicit about whether secrets are discovered or configured in advance.

A dedicated migration document may follow. In the meantime, please open an issue for migration blockers, unexpected behavior, or documentation gaps.

The earlier beta and stabilization discussion is preserved in #116 for historical context.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

This issue is a 2.0.0 release announcement rather than a defined implementation task. Start by reviewing the provider-mode and compatibility sections, then use the referenced 1.x context in #116 to identify migration gaps. Done would require a specific migration document or another clearly scoped documentation change, which the issue does not yet define.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, csharp
Domain
documentation, release
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.