API Keys β
API keys in the TestBeats portal provide secure authentication for integrating with the platform's services.
Scope
API keys are currently limited to publishing test results only.
- Publish test results.
- Upload attachments.
Usage β
API keys are typically used in:
- CI/CD pipeline configurations
- Test framework integrations
Security β
API keys should be treated as sensitive credentials and:
- Never committed to version control
- Stored securely in environment variables
- Rotated regularly for security
Best Practice
Store your API key in environment variables (e.g., TESTBEATS_API_KEY) rather than hardcoding them in your scripts or configuration files.
Next Steps β
- Getting Started β first publish using your API key
- Environment variables β
TESTBEATS_API_KEYand related options - publish command β how the CLI uses the API key
- Service limits β credits and plan limits
- CI/CD integration β use keys from pipeline secrets
