Configure and manage your Bugster API key for CLI authentication
The bugster auth
command manages authentication for Bugster CLI by configuring your API key. This command handles setting, updating, and clearing your API key credentials.
Authentication is required for all Bugster CLI operations. Your API key connects the CLI to your Bugster account and enables access to testing features.
This command will guide you through the interactive authentication process, including opening the dashboard to retrieve your API key.
Authenticate with a specific API key without interactive prompts.
Remove the currently stored API key from your configuration.
Start Authentication
Run the auth command in your terminal:
Open Dashboard (Optional)
The CLI will ask if you want to open the Bugster Dashboard:
Selecting “y” will automatically open your browser to the dashboard.
Retrieve API Key
Find your API key in the Bugster Dashboard under Account Settings
Your API key will look like: bugster_abc123xyz789...
Enter API Key
Paste your API key when prompted:
Validation & Storage
The CLI will:
Your API key is stored securely in your user configuration:
macOS/Linux: ~/.config/bugster/config.yaml
The configuration file structure:
For CI/CD environments or automated scripts:
To switch between different Bugster accounts:
You can also use environment variables instead of storing the API key:
Environment variables take precedence over stored configuration files.
Invalid API Key Format
Error: API keys typically start with ‘bugster_’
Solutions:
bugster_
API Key Validation Failed
Error: Invalid API key. Please check and try again.
Solutions:
Permission Denied
Error: Cannot save configuration file
Solutions:
~/.config/bugster/
Configuration File Issues
Error: Cannot read/write config file
Solutions:
API Key Security
Team Environments
After authentication, you can proceed with:
Set up Bugster configuration in your project
Create AI-powered test specifications from your codebase
Execute your Bugster tests
Connect your repository for automated testing
Need a new API key? Visit the Bugster Dashboard to generate or manage your API keys.
Lost access? If you can’t access your dashboard or need to reset your account, contact support through the Bugster Dashboard.