- Ansible 2 Cloud Automation Cookbook
- Aditya Patawari Vikas Aggarwal
- 73字
- 2021-06-24 18:43:35
Managing secrets with Ansible Vault
Secret management is an important aspect of any configuration management tool. Ansible comes with a tool called Ansible Vault which encrypts secrets (technically, it can encrypt any arbitrary file but we will focus on secrets) at rest with 256 bit AES encryption. These secrets can be used in tasks in various ways.
To understand this better, let us create a sample secret and use it in a task.