Auth Commands
The cyberstrike auth commands manage AI-provider credentials. There are exactly three subcommands — login, logout, and list — and none of them take flags; each is interactive.
📸 SCREENSHOT: auth-commands.png
Authentication command interface
auth login
cyberstrike auth login [url]Starts an interactive login. Cyberstrike shows a provider list (built from the models catalog) and prompts for the API key or OAuth flow. The optional url positional pre-selects a well-known provider URL; the provider is otherwise chosen from the menu — you do not pass the provider as a flag.
? Select provider❯ cyberstrike (recommended) anthropic (Claude Max or API key) github-copilot openai (ChatGPT Plus/Pro or API key) google openrouter …Credentials are stored in the data directory (~/.local/share/cyberstrike/auth.json).
auth list
cyberstrike auth list # alias: lsLists the providers you have credentials for.
auth logout
cyberstrike auth logoutInteractively select a stored credential to remove.
Caution
There is no auth status, auth verify, auth refresh, or auth switch command, and no --key/--oauth/--json/--all flags. Login is always the interactive auth login flow.
Environment Variables
Instead of storing credentials, you can provide provider keys via environment variables — see AI Providers and Environment Variables. For example:
export ANTHROPIC_API_KEY="sk-ant-..."export OPENAI_API_KEY="sk-..."export GOOGLE_GENERATIVE_AI_API_KEY="AI..."Related Documentation
- AI Providers - Per-provider setup
- Authentication - First-time auth
- CLI Reference - All commands