Ansible Tower/AWX Credential Management

All,
I am looking a way to access credentials that are setup in Ansible Tower credentials.
The scenario I am testing is to clone a private git repo. the way I found to pass the username and password are as follows.

Hi
This is the ansible list, your question will get more/better response on the dedicated awx list. Give that a try.

Btw i would use public keys or tokens btw for interaction with GitHub, definitely not user password of the actual account.

Thanks, i will post this in the AWX group.
However, the problem is not just limited to git.
there are scenarios where I need to access the credentials especially the username which is in credentials.

Thanks,
Jayant

I have done this exact task before for a custom credential. We can talk over there