logout

Remove the session saved by login. It deletes credentials.toml, so the next command falls back to client credentials (if the context has a secret) or asks you to log in again.

ferris-ctl logout

The command takes no arguments. It reports whether a session was removed:

  • Logged out. Stored credentials removed. when a session existed.
  • No active session; nothing to remove. when there was nothing to delete.

See Authentication for how sessions are stored and refreshed.