Credential Module - Create Tower Credential with a Cyberark AIM Lookup as the password

77 views
Skip to first unread message

Spencer Lome

unread,
Feb 1, 2023, 4:51:50 PM2/1/23
to AWX Project
Hello!

I'm looking into creating credentials in Tower using the Ansible tower_credential module. I can't find any examples of this module where the password is a lookup/query vs. hard-coding a password.

Presently, I can go into Tower and manually create credentials where the password uses a "Cyberark AIM Central Credential Provider Lookup", and enter in my object query on the metadata page (for example, Safe=mysafe;Object=mysecret). This does not work for my long term, as our automation is designed to create a new credential when a new team is onboarded to Tower.

Is there any way I can do this with the Ansible credential module? Here is the source code as reference. https://github.com/ansible/awx/blob/devel/awx_collection/plugins/modules/credential.py

Thanks,
Spence

Spence

unread,
Feb 1, 2023, 5:50:17 PM2/1/23
to awx-p...@googlegroups.com

--
You received this message because you are subscribed to a topic in the Google Groups "AWX Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/awx-project/TlcKv5bG7J0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to awx-project...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/0175c35d-2d06-4bac-bfbf-fb3a3010f5dbn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages