-1

Just wondering if there is any way I have not seen yet that is able to set Azure AD OAuth2 Key or Azure AD OAuth2 Callback URL via any type of API?

1 Answers1

1

You may first have a look into Tower API Reference Guide and to get familiar with the Ansible Tower REST API. You could use calls like

curl --silent --user ${ACCOUNT}:${PASSWORD} https://${TOWER_URL}/api/v2/auth/ --write-out "\n%{http_code}\n" | jq .
curl --silent --user ${ACCOUNT}:${PASSWORD} https://${TOWER_URL}/api/v2/config/ --write-out "\n%{http_code}\n" | jq .

and proceed further later with data structures and configuration updates.

Further Q&A

Zeitounator
  • 38,476
  • 7
  • 53
  • 66
U880D
  • 8,601
  • 6
  • 24
  • 40