Created
March 18, 2017 23:47
-
-
Save towo/81aa48f0c2ff2dfbf7852bb704359da3 to your computer and use it in GitHub Desktop.
GPG wrapping Ansible Vault
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[defaults] | |
hostfile = some-environment | |
vault_password_file = bin/gpg-wrapper.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
VAULT_PW_FILENAME="vault" | |
gpgp --quiet --batch --use-agent --decrypt $VAULT_PW_FILENAME |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment