Authentication
Configure API keys and environment variables safely
All Obtrace SDKs authenticate through API keys at ingest.
Required variables
OBTRACE_API_KEYOBTRACE_INGEST_BASE_URLOBTRACE_TENANT_IDOBTRACE_PROJECT_ID
Minimum security rules
- Never expose server keys in client bundles.
- Separate keys by environment and service.
- Store keys only in a secret manager.
- Validate ingestion after every key rotation.
Misconfiguration signals
401/403during telemetry submission.- Partial telemetry across services.
- Data reaching the wrong tenant/project.