2. Command Overview. Login/User management oc login authenticate to an openshift cluster oc logout end the current session oc whoami show the current userĀ .