Oc login: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 21: Line 21:
Sets the project (namespace) to log into.
Sets the project (namespace) to log into.


==-s --server= ==
==-s --server==


<pre>
<pre>
--server="https://my-openshift-master:8443"
--server="https://my-openshift-master:8443"
</pre>
</pre>

Revision as of 14:26, 10 May 2017

Internal

Overview

The command establishes a session.

More about authentication:

OpenShift Concepts - Authentication

Options

-u

Sets the user name

-n

Sets the project (namespace) to log into.

-s --server

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