Skip to content
v2.7

Log in

owbase login with email, password, and MFA; whoami, logout, and more than one account.

Terminal window
owbase login

The CLI asks for your account’s email and password. If the account has two-step verification, it also asks for the factor and the code:

  • authenticator app (totp);
  • email code (email);
  • recovery code (recoveryCode).

SMS MFA is not available. To skip the prompts, pass the factor with --mfa (and the code with --code).

By default the CLI talks to https://cloud.owbase.dev/v1.

Terminal window
owbase whoami # the connected account
owbase logout # ends the session and deletes it from the machine
Terminal window
owbase login --new # logs in with another account, keeping the current one
owbase login --switch # switches between the accounts already connected

Sessions are stored in ~/.owbase/prefs.json, only on your machine. Treat the file like a password: whoever has it acts on behalf of your account until logout.

In CI there is no login: use an API key (see CI).

Was this page helpful?