Oc whoami
Jump to navigation
Jump to search
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