Skip to content

feat: add env SecretsProvider#15

Open
klaidliadon wants to merge 12 commits intomasterfrom
env-provider
Open

feat: add env SecretsProvider#15
klaidliadon wants to merge 12 commits intomasterfrom
env-provider

Conversation

@klaidliadon
Copy link
Contributor

No description provided.

…date Hydrate function to accept provider instances
- Use consistent "<pkg>: fetch secret %q: <reason>" format in all providers
- Drop unnecessary error return from env.NewSecretsProvider
- Use reflect.Pointer consistently instead of mixing Ptr/Pointer
Copy link
Contributor

@VojtechVitek VojtechVitek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Nice changes.

klaidliadon and others added 3 commits March 10, 2026 19:11
Co-authored-by: Vojtech Vitek (golang.cz) <vojtech.vitek@golang.cz>
…older

- Lower go.mod to Go 1.22 (only bump metadata to v0.6.0 for WithContext API)
- Move golangci-lint tool directive to tools/ subfolder with its own go.mod
- Remove 2s timeout in NewSecretsProvider (caller controls via ctx)
- Fix error message: "access secret version" per review suggestion
Copy link
Contributor

@VojtechVitek VojtechVitek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link

@david-littlefarmer david-littlefarmer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

3 participants