1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 21:46:22 +01:00
Files
openshift-docs/modules/cli-logging-out.adoc
2021-02-04 11:40:36 -07:00

25 lines
518 B
Plaintext

// Module included in the following assemblies:
//
// * cli_reference/openshift_cli/getting-started.adoc
[id="cli-logging-out_{context}"]
= Logging out of the OpenShift CLI
You can log out the OpenShift CLI to end your current session.
* Use the `oc logout` command.
+
[source,terminal]
----
$ oc logout
----
+
.Example output
[source,terminal]
----
Logged "user1" out on "https://openshift.example.com"
----
This deletes the saved authentication token from the server and removes it from
your configuration file.