redhat-cop / aap_utilities

Ansible Collection for automated deployment of AAP and other objects for general use
https://galaxy.ansible.com/infra/aap_utilities
GNU General Public License v3.0
81 stars 50 forks source link

Added support for providing OpenShift auth via api key #233

Closed sabre1041 closed 5 months ago

sabre1041 commented 5 months ago

What does this PR do?

Adds support for authenticating to OpenShift via an API key (token) instead of a username and password

How should this be tested?

Invoke the ocp_install role and provide the following variables:

aap_ocp_install_connection:
  host: "<host>"
  api_key: "<api_key>"
  validate_certs: false

Is there a relevant Issue open for this?

No