Global flag --vault-password-file not working
gitrust opened this issue · 0 comments
gitrust commented
I found your tool today after searching for a standalone alternative for ansible-vault
. Great work!
Unfortunately the global flag --vault-password-file
seems not to work. I used the docker version of gwvault.
The only way I got this working is by providing the vault password file via the ANSIBLE_VAULT_PASSWORD_FILE
environment variable:
docker run -it --rm -e ANSIBLE_VAULT_PASSWORD_FILE=/av/vault_pass -v "$PWD":/workdir -v "~/.ansible:/av:ro" ghcr.io/goodwaygroup/gwvault view keyvault.yaml
I tried to use it different ways --vault-password-file /av/vault_pass
and --vault-password-file=/av/vault_pass
. No success.
Am I doing something wrong?