ansible-vault(1) (NAME) ansible-vault - Ansible (SYNOPSIS) usage: ansible-vault [-h] [--version] [-v] {create,decrypt,edit,view,encrypt,encrypt_string,rekey} ... (DESCRIPTION) Ansible . (inventory) group_vars/ host_vars/ include_vars vars_files ansible-playbook -e @file.yml -e @file.json . (Role) ! (tasks) (handlers) Ansible vault . (task) . (COMMON OPTIONS) --version -h, --help -v, --verbose Ansible . -v -vvvvvv . -vvv -vvvv . . (ACTIONS) create vault --encrypt-vault-id 'ENCRYPT_VAULT_ID' vault ( vault-id ) --skip-tty-check tty --vault-id () vault . . --vault-password-file, --vault-pass-file vault -J, --ask-vault-password, --ask-vault-pass vault decrypt vault --output 'OUTPUT_FILE' (stdout) - --vault-id () vault . . --vault-password-file, --vault-pass-file vault -J, --ask-vault-password, --ask-vault-pass vault edit vault --encrypt-vault-id 'ENCRYPT_VAULT_ID' vault ( vault-id ) --vault-id () vault . . --vault-password-file, --vault-pass-file vault -J, --ask-vault-password, --ask-vault-pass vault view vault (pager) vault --vault-id () vault . . --vault-password-file, --vault-pass-file vault -J, --ask-vault-password, --ask-vault-pass vault encrypt vault --encrypt-vault-id 'ENCRYPT_VAULT_ID' vault ( vault-id ) --output 'OUTPUT_FILE' (stdout) - --vault-id () vault . . --vault-password-file, --vault-pass-file vault -J, --ask-vault-password, --ask-vault-pass vault encrypt_string vault --encrypt-vault-id 'ENCRYPT_VAULT_ID' vault ( vault-id ) --output 'OUTPUT_FILE' (stdout) - --show-input --stdin-name 'ENCRYPT_STRING_STDIN_NAME' (stdin) --vault-id () vault . . --vault-password-file, --vault-pass-file vault -J, --ask-vault-password, --ask-vault-pass vault -n, --name . . -p, --prompt (prompt) rekey vault --encrypt-vault-id 'ENCRYPT_VAULT_ID' vault ( vault-id ) --new-vault-id 'NEW_VAULT_ID' () vault (rekey) --new-vault-password-file 'NEW_VAULT_PASSWORD_FILE' vault (rekey) --vault-id () vault . . --vault-password-file, --vault-pass-file vault -J, --ask-vault-password, --ask-vault-pass vault (ENVIRONMENT) : ANSIBLE_CONFIG -- ansible ansible.cfg ansible-config . (FILES) /etc/ansible/ansible.cfg -- ~/.ansible.cfg -- ./ansible.cfg -- ( ) ' ' . ANSIBLE_CONFIG . (AUTHORS) Michael DeHaan . (COPYRIGHT) (C) 2018 Red Hat, Inc | Ansible. GPLv3 . (SEE ALSO) ansible (1), ansible-config (1), ansible-console (1), ansible-doc (1), ansible-galaxy (1), ansible-inventory (1), ansible-playbook (1), ansible-pull (1) : . IRC CONTRIBUTING.md : Ansible 2.21.3 ansible-vault(1)