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 bearer token generated by the authorization server after authentication.
oc whoami -t