Oc login: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 13: Line 13:
=Options=
=Options=


==-u==
==-u --username==


Sets the user name
Sets the user name

Revision as of 14:26, 10 May 2017

Internal

Overview

The command establishes a session.

More about authentication:

OpenShift Concepts - Authentication

Options

-u --username

Sets the user name

-n

Sets the project (namespace) to log into.

-s --server

--server="https://my-openshift-master:8443"