hashicorp-vault-plugin
hashicorp-vault-plugin copied to clipboard
Allow * in CASC_VAULT_PATHS
trafficstars
The way our secrets are organised in the vault means that we have to add a lot of paths to CASC_VAULT_PATHS. It would be nice if we could simply add:
CASC_VAULT_PATHS='secret/*'
And then everything would be available. Right now, it is an extra step to have to add a path every time we add a new group of secrets that need to be accessible from Jenkins. Obviously, we could reorganise the vault to have everything in one group, but I think that's a choice that should be left to the user and not one that should be imposed by the plugin.
This would be fantastic for us. Currently we have all of the secrets jammed into one path as separate keys to avoid having hundreds of items in the PATHS string.