Oc login: Difference between revisions
Jump to navigation
Jump to search
Line 30: | Line 30: | ||
--server="https://my-openshift-master:8443" | --server="https://my-openshift-master:8443" | ||
</pre> | </pre> | ||
==--certificate-authority== | |||
Specifies the path to the certificate authority file. | |||
==--insecure-skip-tls-verify== | |||
Allows interaction with HTTPS server while bypassing server certificate checks. |
Revision as of 14:29, 10 May 2017
Internal
Overview
The command establishes a session.
More about 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"
--certificate-authority
Specifies the path to the certificate authority file.
--insecure-skip-tls-verify
Allows interaction with HTTPS server while bypassing server certificate checks.