How do you connect AWX to an external secrets manager?
IntermediateProductionAWX, AAP and Cloud Integration
Answer
Use credential lookup plugins (external secret management). Instead of storing the secret in AWX, a credential field is linked to a source such as HashiCorp Vault, CyberArk, Azure Key Vault, AWS Secrets Manager or Thycotic, and AWX fetches the value when the job launches.
Setup:
- Create a credential of the source type (for example "HashiCorp Vault Secret Lookup") with the Vault URL and auth (token, AppRole or certificate).
- In the machine or custom credential, click the key icon on a field and link it to that source with the secret path and key.
- Jobs using that credential get the current value every run.
Rotation then happens in Vault only, with no AWX change, and AWX's database never holds the secret itself.
More on AWX, AAP and Cloud Integration
AWX or Red Hat Ansible Automation Platform: what is the difference and what do you pay for?BeginnerWhat are the core objects in AWX and how do they fit together?BeginnerHow do you manage AWX configuration as code?IntermediateHow do custom credential types work in AWX?AdvancedHow do you trigger AWX jobs from CI or other systems?IntermediateHow do project updates work in AWX, and what does "update revision on launch" trade off?Intermediate