Interview Prep/Ansible/Vault, Privilege Escalation and Error Handling

What is Ansible Vault?

BeginnerConceptVault, Privilege Escalation and Error Handling
Answer

Vault encrypts sensitive data, such as passwords, API keys and certificates, so it can be committed to Git next to the rest of your automation. Ansible decrypts it in memory at run time when it is given the vault password.

It protects secrets at rest in the repository. It is not a secrets manager: there is no rotation, access auditing or per-user policy, which is why larger teams combine it with HashiCorp Vault, AWS Secrets Manager or AAP credentials.

All Ansible questions Roadmap: Ansible

More on Vault, Privilege Escalation and Error Handling