Documentation/Authentication
Authentication
Authenticate your CLI to access the Crowdi cloud platform and run simulations.
Login via Browser
crowdi login
Opens a browser window for OAuth authentication. Supports GitHub, Google, and email/password.
API Key Authentication
For CI/CD environments, use API keys instead of interactive login:
export CROWDI_API_KEY=your_api_key_here
crowdi run --url https://staging.example.com
Get your API key from Settings → API Keys in your dashboard.
Check Authentication Status
crowdi whoami
Displays your current logged-in user and organization.
Logout
crowdi logout
Security Best Practices
- Never commit API keys to version control
- Use environment variables for CI/CD
- Rotate API keys regularly (every 90 days recommended)
- Use separate keys for different environments
Last updated: Today
Edit this page on GitHub →