VSCode extensions to encrypt/decrypt ansible-vault file, can toggle with ctrl+alt+0 inspired by https://github.com/sydro/atom-ansible-vault
To read vault password file in your computer, you can specify the vault_password_file
in ansible.cfg or through extension settings.
- Ansible
This extension contributes the following settings:
ansibleVault.executable
: Full path of ansible-vault executable (e.g./usr/local/bin/ansible-vault
)ansibleVault.keyfile
: Ansible-vault password file path (e.g.~/.vault-pass.txt
)ansibleVault.keypass
: Ansible-vault password text (e.g.GT6rAP7rxYzeFC1KtHVW
)