
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 6,020 Views
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 5,990 Views
I assume you are trying to extract the token to programmatically administer your cluster. If you are already logged in as a user via CLI, maybe you can try:
"oc whoami --show-token"
Another option is to log in to the OpenShift console and, click on the dropdown beside your login username on the top right hand corner > copy Login command. This will direct you to another page for authentication. Login with same credential you used to access the console and on the page, click on "Display token" to view the OAUTH token for the authenticated user.
Remember to treat the token with same level of privacy you accord your username and password for your cluster.


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 5,996 Views
Hello cstauss1,
I might be able to offer a response by
learning a little more about what you're
attempting to do.
Thanks cstauss1

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 5,991 Views
I assume you are trying to extract the token to programmatically administer your cluster. If you are already logged in as a user via CLI, maybe you can try:
"oc whoami --show-token"
Another option is to log in to the OpenShift console and, click on the dropdown beside your login username on the top right hand corner > copy Login command. This will direct you to another page for authentication. Login with same credential you used to access the console and on the page, click on "Display token" to view the OAUTH token for the authenticated user.
Remember to treat the token with same level of privacy you accord your username and password for your cluster.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 5,974 Views
Thanks-very helpful