LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

ibmcloud-logout

ends the current IBM Cloud CLI session

TLDR

Log out of IBM Cloud
$ ibmcloud logout
copy
Log out of an isolated session directory
$ IBMCLOUD_HOME=[/path/to/session] ibmcloud logout
copy

SYNOPSIS

ibmcloud logout

DESCRIPTION

ibmcloud logout ends the current CLI session. It discards the IAM access and refresh tokens stored in the configuration directory, so subsequent commands that need authentication fail until ibmcloud login is run again.The command takes no options. The targeted API endpoint set with ibmcloud api is kept, as are CLI settings written by ibmcloud config.

ENVIRONMENT

IBMCLOUD_HOME

Directory holding the session metadata. Set it to log out of one of several parallel sessions.

CAVEATS

Logging out only clears credentials on this machine. API keys and service ID keys stay valid until they are deleted with ibmcloud iam api-key-delete, and already-issued tokens remain valid until they expire.Sessions are per configuration directory, so a logout does not affect shells that point IBMCLOUD_HOME somewhere else.

HISTORY

ibmcloud logout is part of the IBM Cloud CLI, which replaced the earlier `bluemix` (`bx`) CLI when Bluemix was rebranded to IBM Cloud around 2018.

SEE ALSO

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid