Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 475 Bytes

auth-logout.md

File metadata and controls

22 lines (13 loc) · 475 Bytes

safedep auth logout

Remove every credential field stored for the active profile (API key, OAuth access token, refresh token, tenant).

Synopsis

safedep auth logout [--profile <name>]

Flags

Inherits root flags --output, --profile, and --insecure-keychain-fallback.

Behaviour

Calls Clear on the keychain for the active profile. Other profiles are unaffected.

Exit codes

  • 0 on success.
  • 1 if the keychain cannot be opened or cleared.