How to obtain service account API Token through API calls

Solution In Progress - Updated -


  • 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?


  • OpenShift Container Platform 3.10

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In