Closed scoiatael closed 3 years ago
Looks good, happy to merge when it's ready!
Can you add a comma path to the docs as an example as well?
Verified this change on our production and it works nicely.
Sadly required couple of extra changes to avoid changing our secret layout in Vault.
Documentation updated :)
@petems ready when you are :)
Aweesome, you even refactored the main logic whilst you were there, something I've been meaning to do for a while <3
We've been using Vault at one of teams in Opera pretty extensively over the past couple of years.
There's one big change here: allowing for comma-delimited paths, since we are whitelisting multiple paths for each machine:
(see spec/functions/hiera_vault_path_interpolation_spec.rb )
This PR is a result of recent rebase - let me know what you think.
I'll ensure this works for us in the meantime and remove draft status :)