CmdID

CmdID / Commands

ansible-vault

Encrypt and decrypt values, data structures, and files within Ansible projects. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Create a new encrypted vault file with a prompt for a password

ansible-vault create path/to/vault_fileIdentify

Edit, view, or re-key (re-encrypt) an existing encrypted vault file with a prompt for the password

ansible-vault edit path/to/vault_fileIdentify

Create a new encrypted vault file using a password file to encrypt it

ansible-vault create --vault-password-file path/to/password_file path/to/vault_fileIdentify

Encrypt an existing plaintext file in-place using a password file

ansible-vault encrypt --vault-password-file path/to/password_file path/to/fileIdentify

Encrypt a string using Ansible's encrypted string format, displaying interactive prompts

ansible-vault encrypt_stringIdentify

View an encrypted vault file by using a password file to decrypt

ansible-vault view --vault-password-file path/to/password_file path/to/vault_fileIdentify

Re-key (re-encrypt) an already encrypted vault file with a new password file

ansible-vault rekey --vault-password-file path/to/old_password_file --new-vault-password-file path/to/new_password_file path/to/vault_fileIdentify