Defining credentials
One of the ways in which AWX lends itself to an enterprise is the secure storage of credentials. Ansible, given its nature and typical use cases, is often given the "keys to the kingdom" in the form of SSH keys or passwords that have root or other administrative level privileges. Even if encrypted in a Vault, the user running the playbook will have the encryption password and hence can obtain the credentials. Obviously, this may not be a desirable scenario, having many people with uncontrolled access to administrator credentials, but luckily for us, AWX solves this issue.
Let's take a simple example—suppose my test host, which we defined the inventory for previously, has a root password of Mastery123!. How do we store ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access