-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add Vault provider #35
Conversation
Signed-off-by: Bence Csati <[email protected]>
Signed-off-by: Bence Csati <[email protected]>
Signed-off-by: Bence Csati <[email protected]>
Signed-off-by: Bence Csati <[email protected]>
Signed-off-by: Bence Csati <[email protected]>
Signed-off-by: Bence Csati <[email protected]>
Signed-off-by: Bence Csati <[email protected]>
Signed-off-by: Bence Csati <[email protected]>
Signed-off-by: Bence Csati <[email protected]>
Signed-off-by: Bence Csati <[email protected]>
Signed-off-by: Bence Csati <[email protected]>
Signed-off-by: Bence Csati <[email protected]>
Signed-off-by: Bence Csati <[email protected]>
Signed-off-by: Bence Csati <[email protected]>
Signed-off-by: Bence Csati <[email protected]>
Signed-off-by: Bence Csati <[email protected]>
Signed-off-by: Bence Csati <[email protected]>
…aswell as providers, add tests for new package Signed-off-by: Bence Csati <[email protected]>
Signed-off-by: Bence Csati <[email protected]>
Signed-off-by: Bence Csati <[email protected]>
Signed-off-by: Bence Csati <[email protected]>
Signed-off-by: Bence Csati <[email protected]>
…o main Signed-off-by: Bence Csati <[email protected]>
Signed-off-by: Bence Csati <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small notes here, sorry for the drill 😢 the logic looks clean, well done on adding tests!
Signed-off-by: Bence Csati <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, great work @csatib02! Some great changes and improvements, especially adding the tests to track everything. This makes it really simple to check and build on top later on.
Overview
Configuration support for the file provider.
Added support for the Vault provider.
Currently, multi-provider functionality (e.g. simultaneous use of one instance of both the file and Vault providers) is not supported.
Note: A workaround have been applied temporarily, with plans to address this limitation in a future pull request.
The Vault provider implementation has been mostly refactored from Vault-env, with the key difference being that all providers now receive a configuration.
Secret-init still requires the
PROVIDER
environment variable to be set, as previously explained.Continuation of issue: #1
Closes: #18
Changes
args.go
andenv_store.go
to enhance the clarity and testability of the application.main.go
for better modularization.