Key types
Foveus supports two key types:
Test keys start with:
fov_test_ key sends telemetry to Test mode and a fov_live_ key sends it to Live mode. There is no separate mode setting.
Keys are shown once. Store the key when it is displayed.
Test keys
Your test key is created automatically during onboarding. Use it for:- local development
- sandbox services
- QA environments
- staging validation
- SDK setup
During private beta there is no rotate or revoke control in the dashboard, for test or live keys.
Live keys
Live keys are not self-serve during private beta. Ask the Foveus team for a live key when you are ready to send production telemetry. A live key sends telemetry to Live mode.Store keys safely
Do not hardcode API keys in production code. For local development, use .NET user secrets:- Azure Key Vault
- AWS Secrets Manager
- Google Secret Manager
- Kubernetes secrets
- Docker secrets
- Render environment variables
Use environment variables
Most .NET apps can read configuration from environment variables. For a nested configuration value like:Do not expose keys to browsers
Foveus API keys are server-side secrets. Do not use them in:- frontend JavaScript
- mobile apps
- browser extensions
- public repositories
- static websites
Keep test and live keys separate
Use test keys for non-production telemetry. Use live keys for production telemetry. Do not use a test key in production. Do not use a live key in local development.Permissions
During private beta, Foveus API keys are created with permissions needed to ingest telemetry. A key allows telemetry ingestion for:- 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 secret with the new key.
- Redeploy or restart your service.
- Confirm telemetry is arriving with the new key.
- Ask the Foveus team to revoke the old key.
If a key is exposed
If a key is exposed, contact the Foveus team immediately so the key can be revoked and replaced, then follow the steps above.Logging safety
Never log your API key. Avoid logging full configuration objects if they include secrets. If an API key appears in logs:- Remove or mask the log.
- Contact the Foveus team to replace the key.
- Check whether the key was shared outside your team.
Example production setup
ApiKey in a secret manager and keep the remaining non-secret options in app configuration.
Troubleshooting
Telemetry does not appear
Check that:- the API key is correct
- the startup log does not contain
Foveus is disabled:— if it does, fix the reason it gives (Foveus.SDK 1.1.0-beta.18 or later; earlier versions throw at startup) - the key has not been revoked (ingestion fails with HTTP 401)
- the key mode matches the dashboard mode
- the service can reach Foveus
- the SDK is loading the expected configuration
- the service was restarted after changing the key
Telemetry appears in Test mode
The service is using afov_test_ key. The key decides the mode, so a test key always sends to Test mode.
If this is production telemetry, use a live key:
A key was committed to source control
Remove the key from source control and contact the Foveus team to replace it. If the key appears in Git history, treat it as exposed.Next steps
- Create an API key: Create an API key
- Configure the SDK: SDK configuration
- Review data safety and retention: Data safety and retention
- Configure redaction: Redaction