Skip to content
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

vault backend should support multiple base paths #38

Open
3 tasks
thomasmitchell opened this issue Sep 24, 2020 · 2 comments
Open
3 tasks

vault backend should support multiple base paths #38

thomasmitchell opened this issue Sep 24, 2020 · 2 comments

Comments

@thomasmitchell
Copy link
Collaborator

right now, it just has base_path as the path configuration option. If base_paths is implemented, the List() function should enumerate values under each of them.

  • add base_paths as a Vault configuration option
  • have base_paths default value be a single member, secret/
  • if base_paths is not specified but base_path is, use the value in base_path as the single value in the list.
@thomasmitchell
Copy link
Collaborator Author

it's worth considering the case in which the operator has base_path and base_paths specified. You could just append and de-dup the value in base_path to base_paths, but its probably safer to just complain that its a misconfiguration, because its almost certainly an oversight on the operator's behalf.

@norman-abramovitz
Copy link
Contributor

norman-abramovitz commented Jul 6, 2022

Vault "secrets list" will give the list of secret engine backends. We could also run this command and generate a list of 'KV' secret engines. We can then use those paths. If a path is not accessible, we would generate a warning and move on. The default value would be false to continue using base_path(s) options.

auto_paths: [false|true]

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

No branches or pull requests

2 participants