June 2020
Intermediate to advanced
410 pages
9h 52m
English
Ansible Vault is a tool included with Ansible that allows you to encrypt your sensitive data at rest, while also using it in a playbook. Often, it is necessary to store login credentials or other sensitive data in a variable to allow a playbook to run unattended. However, this risks exposing your data to people who might use it with malicious intent. Fortunately, Ansible Vault secures your data at rest using AES-256 encryption, meaning your sensitive data is safe from prying eyes.
Let's proceed with a simple example that shows you how you can use Ansible Vault:
$ ansible-vault ...