feat: add mapping mode for multi-key Vault secrets#9
Merged
BinSquare merged 1 commit intoBinSquare:mainfrom Feb 17, 2026
Merged
feat: add mapping mode for multi-key Vault secrets#9BinSquare merged 1 commit intoBinSquare:mainfrom
BinSquare merged 1 commit intoBinSquare:mainfrom
Conversation
Contributor
Author
|
Hi @BinSquare ! It would be great if you could check my addition to your awesome tool, I'm eager to use it as soon as possible with the multi-key / values vault secrets. It seems to work as intended but since I'm far from being an Go developer and I've received a lot of help from Claude Code youre validation is of course mandatory and required. |
BinSquare
requested changes
Feb 16, 2026
Owner
BinSquare
left a comment
There was a problem hiding this comment.
Looks mostly good!
Some slight changes requested.
Also recommend that you squash commits first.
Thanks for your contribution!
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
7b287e6 to
d51145f
Compare
Contributor
Author
|
Hi @BinSquare thanks a lot for that quick reply ! Thank you for your time 🙏 |
Owner
|
well done, merging. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
mappingconfiguration option to map environment variables to specific keys within multi-key Vault secrets, as an alternative to thepath_prefixconventionMultiKeyProviderinterface andReadSecretonvaultProviderto support reading all key-value pairs from a single secret pathCollectMappedSecretshelper that batches reads by path to minimize API callsmappingandpath_prefixare mutually exclusive; block write/delete in mapping mode (read-only)Example configuration
Test plan
CollectMappedSecrets(success, missing key, missing path, empty, deduplication)vaultProviderimplementsMultiKeyProvider