API key modes
Foveus supports two key modes:
Use your test key while setting up Foveus.
Request a live key only when you are ready to send production telemetry.
The key decides the mode. A
fov_test_ key sends telemetry to Test mode and a fov_live_ key sends it to Live mode. There is no separate mode setting.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
Live keys are not self-serve during private beta. When your service is ready to send production telemetry, ask the Foveus team for a live key. 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.
Environment is a free-text label for the deployment. It is not the ASP.NET Core environment.
Use a live key
When you are ready to send production telemetry, use a live key. Afov_live_ key sends telemetry to Live mode.
Configuration options
Permissions
During private beta, Foveus API keys are created with the permissions needed to ingest telemetry. A key can send:- logs
- metrics and execution telemetry
- context
- error reports
Replace a key
Replace a key if:- the key was exposed
- a team member with access leaves
- your security policy requires periodic rotation
- Update your service configuration with the new key.
- Deploy the change.
- Confirm new telemetry is arriving.
- Ask the Foveus team to revoke the old key.
Troubleshooting
No executions appear
Check that:- the API key is valid
- the startup log does not contain
Foveus is disabled:— if it does, fix the reason it gives - 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
Foveus is disabled: diagnostic requires Foveus.SDK 1.1.0-beta.18 or later; earlier versions throw at startup instead.
If you are using the default service name, search by the project assembly name.
If you overrode ServiceName, search by that value instead.
Telemetry appears in the wrong mode
The key decides the mode. Afov_test_ key always sends to Test mode and a fov_live_ key always sends to Live mode. Check which key the running service actually uses, and switch the dashboard’s Test/Live toggle to the matching mode.
For live telemetry, use a live key:
Environment does not change the mode. A test key with "Environment": "production" still sends to Test mode.
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 contact the Foveus team to replace it. Foveus does not redact log messages, so never log API keys.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