Oc whoami: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= * oc =Overview=") |
|||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=External= | |||
=Internal= | =Internal= | ||
Line 4: | Line 6: | ||
=Overview= | =Overview= | ||
Also can be used to report the [[OpenShift_Security_Concepts#User_Context|user context]]: | |||
oc whoami -c | |||
=Obtaining the OAuth Token= | |||
The following command can be used to obtain the [[OpenShift_Security_Concepts#OAuth_Access_Tokens|OAuth token]] generated by the [[OpenShift_Security_Concepts#OpenShift_Master_OAuth_Server|authorization server]] after authentication. | |||
oc whoami -t |
Latest revision as of 20:07, 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 token generated by the authorization server after authentication.
oc whoami -t