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

Support Multiple Vault IDs

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • ansible-plugin
    • None

      Ansible 2.4 introduced support for specifying multiple vault passwords, which means that you can encrypt different variables with a different vault password. For example you can create files dev.vault and prod.vault which will have set passwords for dev and production environments, then if you want to decrypt both of these variables you can run ansible-playbook with:

      ansible-playbook --vault-id dev@dev.vault --vault-id prod@prod.vault playbook.yml
      

      Where the dev and prod are Vault IDs. More details on https://docs.ansible.com/ansible/2.4/vault.html#providing-vault-passwords.

      It would be great if the Ansible plugin provided this functionality, so that when you are specifying vault credentials, that you can select multiple credentials and their IDs.

            sirot Jean-Christophe Sirot
            strahinjak Strahinja Kustudic
            Votes:
            5 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: