Skip to main content
Manage authentication and keep the CLI up to date.

auth login

Sign in interactively — opens a browser to complete authentication. Usage
landbase-cli auth login
Flags
FlagDefaultDescription
--keyPaste an API key directly instead of using the browser flow
--forceRe-authenticate even if a valid session already exists (platform mode). Use this if a stale or partial session keeps failing.
Examples
# Browser-based login
landbase-cli auth login

# Force a fresh login if a stale session keeps causing errors
landbase-cli auth login --force

# Paste an API key directly
landbase-cli auth login --key

auth status

Show the currently active API key and workspace. Usage
landbase-cli auth status

auth logout

Remove the stored API key. Usage
landbase-cli auth logout