© Peter Membrey and Shaun R Smith 2022
S. R. Smith, P. MembreyBeginning Ansible Concepts and Applicationhttps://doi.org/10.1007/978-1-4842-8173-4_12

12. Locking Away Your Secrets: Vaults

Shaun R Smith1   and Peter Membrey2
Hong Kong, New Territories, Hong Kong
Kowloon, Hong Kong

In the previous chapter, we stored various credentials such as the database username and password in plaintext. That would be like storing hoards of gold bullion in your bedside table at home and hoping that anybody breaking into your home doesn’t find it. Pushing those credentials to version control would be like painting a huge sign on your house announcing, “The gold is here.” Let’s not do that.

If you did happen to have huge amounts of gold bullion, I’m sure you’d ...

Get Beginning Ansible Concepts and Application: Provisioning, Configuring, and Managing Servers, Applications, and Their Dependencies now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.