hashicorp-vault-plugin
hashicorp-vault-plugin copied to clipboard
Save all variables to a file
Hello please tell me how I can save all variables to a file without declaring all variables in "def secrets"
You have to use def secrets
, that's the current contract for the plugin to function.
Yes, I use this structure
def secrets = [
[path: 'test/dev01', engineVersion: 1, secretValues: [
[envVar: 'APP_ENV', vaultKey: 'APP_ENV']]]
]
def configuration = [vaultUrl: 'http://vault.examples.net:8200',
vaultCredentialId: 'vault',
skipSslVerification: 'true',
engineVersion: 1]
but I have about 100 variables in my test/dev01 storage, how I can get them without description of each value
You cannot without changes to the plugin