Authentication
RedCell utilizes PKCE (Proof Key for Code Exchange) OAuth authentication. Interactive logins use PKCE, so you don't need to copy API keys or store credentials in plain text. API keys, included with paid plans, are for non-interactive use such as CI pipelines and scheduled jobs.
Authenticating Your Device
To sign in, execute redcell login in your shell. This will automatically open your default browser to authorize your session.
Token Storage & Security
Once authorized, RedCell securely saves an encrypted device token in ~/.redcell/credentials.json. Device tokens are limited in scope, expire after 30 days, and can be revoked at any time from your account dashboard or via the CLI.
Account Subcommands
redcell whoamiDisplays the currently authenticated account email and plan.
redcell usagePrints current token consumption and remaining monthly quota.
redcell logoutRevokes the local device token and clears cached credentials.