API key modes
Foveus supports two key modes:
Use your test key while setting up Foveus.
Create a live key only when you are ready to send production telemetry.
Foveus defaults to Test mode. You do not need to set
Mode when using a test key.Test keys
Your test key is created automatically during onboarding. A test key looks similar to:- local development
- sandbox services
- QA environments
- private beta setup
Live keys
Create a live key when your service is ready to send production telemetry. Open your Foveus dashboard and go to Settings → API keys. Create a new key in Live mode. A live key should look similar to:Store your key safely
For local development, use .NET user secrets:- Azure Key Vault
- AWS Secrets Manager
- Google Secret Manager
- Kubernetes secrets
- Render environment variables
- Docker secrets
Use a test key
For local development or sandbox telemetry, you only need to provide your test key.
You can override these values when needed.
Mode for test telemetry. Foveus uses Test mode by default.
Use a live key
When you are ready to send production telemetry, use a live key and setMode to live.
Configuration options
Permissions
During private beta, Foveus API keys are created with the permissions needed to ingest telemetry. A key may be allowed to send:- executions
- logs
- metrics
- context
- issue evidence
Rotate a live key
Rotate a live key if:- the key was exposed
- a team member with access leaves
- your security policy requires periodic rotation
- you are replacing an old production key
- Create a new live key.
- Update your service configuration.
- Deploy the change.
- Confirm new telemetry is arriving.
- Disable or delete the old key.
During private beta, this rotation flow applies to live keys only. Test key rotation from Settings is not available yet.
Troubleshooting
No executions appear
Check that:- the API key is valid
- the key mode matches the dashboard mode you are viewing
- your service can reach Foveus
- the SDK is configured correctly
- your selected time range includes the request time
ServiceName, search by that value instead.
Telemetry appears in the wrong mode
Foveus defaults to Test mode. For test telemetry, you can omitMode.
Mode to live.
The service name looks wrong
By default, Foveus uses your project assembly name as the service name. If that is not the name you want to see in Foveus, overrideServiceName.
The key appears in logs
Remove the key from logs immediately and rotate it if rotation is available. Foveus also redacts known sensitive values where possible, but you should never intentionally log API keys. If a test key is exposed during private beta and you cannot rotate it from Settings, contact Foveus support.Next steps
- Install the .NET SDK: Install the .NET SDK
- Send your first execution: Send your first execution
- Learn about Test and Live modes: Test and Live modes
- Review API key safety: API keys