luna logout
End this machine's login and remove it from the machine.
luna logout ends the login luna login saved on this machine, and removes it.
luna logout
Reference
luna logout
The command takes no options of its own.
Good to know
- The command revokes the login’s account key at Luna, then removes it from
~/.luna/credentials.json. The key is removed from this machine even when Luna cannot be reached. - The organisation
luna orgs usechose is forgotten with the login. - Running it on a machine that is not logged in changes nothing.
- An API token in
LUNA_TOKENis not a login, andluna logoutleaves it alone. End one withluna tokens revoke.
Examples
Log out of this machine
luna logout
Log out and back in as someone else
luna logout && luna login