-
-
Save kaplun/16f56c3da2f4e97d38e762f105647243 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