0Pricing
Ansible Academy · Lesson

Edit, View & Rekey Vault Files

Manage encrypted content safely.

Living With Encrypted Files

Once a file is vaulted you still need to read it, change it and rotate its password. Vault has a subcommand for each job. 🔧

Never Edit by Hand

Opening the ciphertext in a normal editor only corrupts it. Always go through ansible-vault so it decrypts and re-encrypts for you.

All lessons in this course

  1. Encrypt a File with ansible-vault create
  2. Edit, View & Rekey Vault Files
  3. Encrypt a Single Variable Inline
  4. Decrypt at Runtime with --ask-vault-pass
← Back to Ansible Academy