How to obtain service account API Token through API calls
Issue
- Could I retrieve the authentication token of a ServiceAccount through REST API calls?
- Could I have a curl command to obtain the same result that the oc sa get-token <serviceAccount> command?
Environment
- OpenShift Container Platform 3.10
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.