Open nielskroon opened 11 months ago
I am encountering the same issue (CCP v13.x, AWX 23.1.0). When I retrieve the object from the CCP using PowerShell, I can confirm the existence of the 'Address' property. However, I am unable to utilize it within AWX, and I am also receiving the same error message.
@infamousjoeg could you assist with this issue?
Please confirm the following
security@ansible.com
instead.)Bug Summary
Using AWX 23.3.0 and trying to fetch a credential (account) 'Address' from CyberARK PAM using Central Credential Provider version 12.6 we encounter a KeyError.
Fetching object property '' ('Content') or 'UserName' works flawlessly and using PowerShell the same query works and Address field in the JSON response is there and has the proper value.
related #13411 related #13402 related #5743
AWX version
23.3.0
Select the relevant components
Installation method
kubernetes
Modifications
no
Ansible version
core 2.12.5.post0
Operating system
CentOS Stream release 8
Web browser
Chrome
Steps to reproduce
Reproduceable with a CyberARK PAM account that has the Address field populated and an AWX credential of Credential Type "VMware vCenter" passing through the lookup of the 'VCenter Host' details using AIM (External Secret Management System) to a self managed safe using this data:
Expected results
env var VMWARE_HOST set with the value in the Address field of the CyberArk credential
Actual results
Test button in Credential Edit->External Secret Management System->Metadata page will show a KeyError pop up, and playbook in debug mode using this credential fails with these messages:
Additional information
Using another instance (same versions AWX and CCP) we can reproduce this error.