Authentication
Sign in to your Coaade account from the CLI, share the session with the Desktop App, and set up provider credentials.
The CLI needs two things: a Coaade account session, and credentials for the provider that runs the model. They serve different purposes and are stored separately.
Sign in to Coaade
coaade logincoaade login starts or connects to Coaade Manager. If Manager already has a valid session, the CLI reuses it. Otherwise Manager opens its sign-in window and the CLI waits. After you sign in, the window hides and Manager keeps running in the background.
Sign up, email verification and password recovery happen in Manager. The CLI doesn't store half-finished sign-ins.
Sign in to a different account
coaade login --email you@example.comSign in non-interactively
For automation, pass the password on standard input. Passwords are never accepted as command-line arguments.
printf '%s' "$COAADE_PASSWORD" | coaade login --email you@example.com --password-stdinCheck who you are
| Command | Shows |
|---|---|
coaade whoami | The cached account, without exposing any tokens |
coaade account | Your account, fetched from the Cloud API |
coaade subscription | Your current plan. Falls back to the cached plan, with a notice, if the API can't be reached. |
coaade status | Account and provider configuration |
Sign out
coaade logoutOr type /logout in interactive chat. This removes the shared session, so Manager is signed out too.
How the session works
- The CLI uses the account database Manager created at
~/.coaade/coaade.db. It doesn't create its own. - Access tokens are refreshed automatically when they expire.
- Conversations belong to the account, provider and project they were started in. They can't be resumed under another account, and signing out or switching accounts stops any further tool use in a running session.
Provider credentials
Amazon Bedrock
The default provider calls Amazon Bedrock with a Bedrock API key (bearer token). Set it in your shell:
export AWS_BEARER_TOKEN_BEDROCK="..."Or save it once:
coaade auth bedrockThe saved key is stored at ~/.coaade/cli/bedrock.key. On macOS and Linux the file has mode 0600 inside a 0700 folder. It's plain text on disk, not in the OS keychain. The CLI never reads .env files from your projects.
Only Bedrock API keys (bearer tokens) are supported. AWS access-key/secret pairs and SigV4 profiles aren't.
Local Manager
To run on a local model through Coaade Manager, you also need a Coaade API key from Manager's API Keys page:
export COAADE_MANAGER_API_KEY="coaade_sk_..."
# or
coaade auth managerThe saved key is stored at ~/.coaade/cli/manager.key.
Diagnose problems
coaade doctordoctor checks for a missing session, missing provider key and Manager connectivity. It doesn't make a billed model request.