Reputation: 887
Can we authenticate against OpenShift enterprise 3.2 or 3.3 REST API's using username and password instead of tokens?
Thanks much in advance!
Upvotes: 0
Views: 1817
Reputation: 1543
As stated in openshift documentation:
Requests to the OpenShift Container Platform API are authenticated using the following methods:
Obtained from the OpenShift Container Platform OAuth server using the /oauth/authorize and /oauth/token endpoints.
Sent as an Authorization: Bearer… header or an access_token=… query parameter
Requires a HTTPS connection to the API server. Verified by the API server against a trusted certificate authority bundle.
So you need to authenticate using either of these ways
Upvotes: 1