You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some times is essential to switch Vault URL. But currently there is no good manageable way to do it.
Using environment variables in Vault configuration seems obvious, although it does not work. Vault plugin does not provide variable substitution on any configuration level.
I have undertaken a small investigation and I've tried various versions of vault plugin and various configurations. None of these combinations support variable expansion.
Here is a sample.
There is DEFAULT_VAULT_URL environment variable set in Jenkins settings.
And there is a job configured to use that variable
The job should simply print the value obtained from Vault:
The job configured this way fails with an error:
The last picture shows that the DEFAULT_VAULT_URL variable was not expanded.
Upstream changes
No response
The text was updated successfully, but these errors were encountered:
What feature do you want to see added?
Some times is essential to switch Vault URL. But currently there is no good manageable way to do it.
Using environment variables in Vault configuration seems obvious, although it does not work. Vault plugin does not provide variable substitution on any configuration level.
I have undertaken a small investigation and I've tried various versions of vault plugin and various configurations. None of these combinations support variable expansion.
Here is a sample.
There is
DEFAULT_VAULT_URL
environment variable set in Jenkins settings.And there is a job configured to use that variable
The job should simply print the value obtained from Vault:
The job configured this way fails with an error:
The last picture shows that the
DEFAULT_VAULT_URL
variable was not expanded.Upstream changes
No response
The text was updated successfully, but these errors were encountered: