Red Hat · hands-on lab
RHCE: Protecting Secrets with Ansible Vault
Encrypt sensitive data — passwords, keys and whole variable files — with Ansible Vault, and run playbooks that need to decrypt it.
- 40 minutesTime in the lab
- IntermediateLevel
- 4 tasksChecked automatically
- CertificateVerifiable link when you finish
The situation
A playbook needs a database password. Store it encrypted with Vault instead of in plain text.
What you will do
- What Vault doesquestion
- Create a vault filequestion
- Running with Vaultquestion
- Editing secretsquestion
How it works
The lab opens in your browser: a real terminal or desktop, nothing to install. Work through the tasks, press Check after each one and the portal verifies your work. Stuck? Ask for a hint. Finish every task and you get a certificate page with its own verification link for LinkedIn or your CV.