Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-44801

Support wildcards for Vault module 'Key name'

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Won't Do
    • Icon: Minor Minor
    • hashicorp-vault-plugin
    • None
    • Jenkins for Windows v.2.64

      Support wildcards in for the 'Key name' input for the Vault module. This would require programatic creation of Environment Variable names. I see 2 options, 1) create the environment variable name based on the key name or 2) allow for a prefix to be defined and append the Key name to be added.

       

      For example, if the following was input:

      Key Name: TF_*

      Environment Variable: Vault_

       

      Would create the following environment variable (from Vault secret TF_VAR_azure_password):

      Vault_TF_VAR_azure_password

       

      or merely create an environment variable (if Environment Variable is not defined):

      TF_VAR_azure_password

       

      Thanks!

            ptierno Peter Tierno
            ojhelweg Otto Helweg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: