thinQmaster Virtual testing partner Adaptive practice exams that find your weak spots and drill them. Every answer explained. From $69
Enroll

thinQmaster

Find your exam

Five questions free, before you decide.

Step 1 · choose a vendor

In one of our camps? Your practice exams come with the tuition — they are on your study page already.

DevOps & Automation · Intermediate

Ansible Vault

An Ansible feature that encrypts sensitive variables and files with AES-256 so they can be stored in version control.

Definition

Vault-encrypted content is decrypted at runtime using --ask-vault-pass or a vault password file. Individual strings can be encrypted with ansible-vault encrypt_string.

Example

ansible-vault create group_vars/routers/vault.yml

Exam tip

Ansible Vault encrypts data at rest in files; it is unrelated to HashiCorp Vault.

Related terms