Oc login: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 15: Line 15:
==-u --username==
==-u --username==


Sets the user name
Sets the user name.
 
==-p --password==
 
Sets the user name.


==-n==
==-n==

Revision as of 14:27, 10 May 2017

Internal

Overview

The command establishes a session.

More about authentication:

OpenShift Concepts - Authentication

Options

-u --username

Sets the user name.

-p --password

Sets the user name.

-n

Sets the project (namespace) to log into.

-s --server

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