petems/petems-hiera_vault

Writing variables as key value pair

whitepiratebaku opened this issue · 1 comments

I wonder is it possible to create a kv secret called common and has key value pairs in it for variables? currently each variable needs to be written as secret and has field called value, right?

Like would not it be better if we do not append variable to secret mount but use it as filed name? like lets say we are looking for password variable normally plugins will look for secret-mount/password path for vaule field, what if it looks for secret-mount/common for password field.Even better for variable like modulename::class::variable it looks for secret-mount/modulename/class and variable field.