Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

osc auth cache clear

Clear the on-disk auth cache.

Without --all, only the cache file(s) for the current cloud are removed (never contacts the network). Equivalent to osc auth logout --local.

With --all, every cached credential under ~/.osc is removed, regardless of cloud/profile, and no cloud connection is required at all.

Usage: osc auth cache clear [OPTIONS]

Options:

  • --all — Clear cached credentials for every cloud/profile, not just the current one. Destructive across profiles: prompts for confirmation unless --yes is given
  • -y, --yes — Suppress the confirmation prompt for --all