API Token
Back to GlossaryDevelopment
Authentication credentials used to integrate Rhesis with your systems programmatically via the SDK or API.
Also known as: token, API key
Overview
API tokens provide secure authentication for programmatic access to Rhesis. Use them to integrate testing into your CI/CD pipelines, automate workflows, or build custom integrations.
Creating Tokens
- Visit https://app.rhesis.ai
- Sign up or log in to your account
- Navigate to your account settings
- Generate a new API key
- Copy and store securely (format: )
Using Tokens with the SDK
Environment Variables (Recommended):
In Python Code:
Using the Connector:
In CI/CD:
Security Best Practices
- Never commit tokens: Use environment variables or secrets managers
- Rotate regularly: Update tokens periodically
- Monitor usage: Review API usage in your account settings
- Revoke unused: Delete tokens no longer needed
- Secure storage: Use secret management tools in production