Oc whoami: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 12: | Line 12: | ||
=Obtaining the OAuth Token= | =Obtaining the OAuth Token= | ||
The following command can be used to obtain the OAuth bearer token generated by the authorization server after authentication. | |||
oc whoami -t | oc whoami -t |
Revision as of 20:05, 18 January 2018
External
Internal
Overview
Also can be used to report the user context:
oc whoami -c
Obtaining the OAuth Token
The following command can be used to obtain the OAuth bearer token generated by the authorization server after authentication.
oc whoami -t