Skip to main content

Authentication

Boltic CLI uses a secure OAuth 2.0 flow with browser-based authentication for enhanced security and user experience.

Login

# Interactive browser login
boltic login

# Login with a Permanent Access Token (PAT)
boltic login --token YOUR_PAT_TOKEN --account-id YOUR_ACCOUNT_ID

How the Authentication Flow Works

  1. Browser Launch — The CLI opens your default browser to the Boltic login page.
  2. OAuth Flow — Complete authentication in your browser (email/password or SSO).
  3. Token Exchange — The CLI automatically exchanges the authorization code for access tokens.
  4. Secure Storage — Tokens are encrypted and stored in your system's native keychain.

Secure Token Storage

Your credentials are stored in your system's native keychain:

PlatformStorage Location
macOSKeychain Access (boltic-cli service)
WindowsCredential Manager (boltic-cli service)
LinuxSecret Service API (boltic-cli service)

Stored credentials:

KeyDescription
tokenBearer token for API authentication
sessionSession cookie for web requests
account_idYour Boltic account identifier

Logout

# Clear all stored credentials
boltic logout

Check Authentication Status

# Any command requiring auth will prompt login if not authenticated
boltic integration list