hashicorp-vault-plugin icon indicating copy to clipboard operation
hashicorp-vault-plugin copied to clipboard

Allow * in CASC_VAULT_PATHS

Open codiophile opened this issue 4 years ago • 1 comments
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.

codiophile avatar Aug 05 '21 15:08 codiophile

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.

peterloron avatar Oct 25 '21 22:10 peterloron