Hashicorps Vault Lookup

I’m attempting to configure the Hashicorp Vault Secret Lookup. I’m able to curl secret data via CLI on the AWX host server, but when I use the same values in the GUI I get a generic error message posted. The web logs show awx.api.generics status 400 received by user and django.request Bad Request: /api/v2/credential_types. Based on my limited understanding these messages are too generic for me to do any trouble shooting with. Is there somewhere else I could look? Has anyone had any luck configuring this setup, I’m not sure what I could be missing.

Had you installed the hvac python plugin in the awx_web container?

Thank you for your response. I had come across a post from 2020 that discussed this solution. Enabling HashiCorp Vault Lookups in Ansible AWX | virtualhobbit I wasn’t sure if this was still something that needed to be done. However, I also saw some other information which suggested an execution environment was what I needed to build to add in the python hvac module. I wasn’t sure which one was correct. So you would recommend installing into the container directly? Again I really appreciate the help, I’ve been betting my head against my head for awhile trying to figure this out.

Don’t know what version you’re running, but I’d advise against venvs. These have been deprecated in favour of EEs. If you modify the platform containers, you’ll have to retro fit again on each upgrade.

I created an EE today as suggested with the addition of the python hvac module. However, I reached a dead end when attempting to add the EE to AWX. The environment is not able to support uploading the image to a registry to be pulled from. Is there a way to point AWX to the EE environment if I store it locally on the same machine?