Ingestion endpoints require X-API-Key. The application hashes the submitted key with SHA-256 and looks up an active key. The raw key is never persisted and never logged.
Lifecycle:
- Create a project.
- Create an API key for the project.
- Store the returned
secretin the calling system. - Use
X-API-Keyfor single or batch ingestion. - Revoke the key when it should no longer ingest data.
Project and API-key management endpoints are intentionally unauthenticated in this pet-project version to keep local demos simple. A production deployment should place these endpoints behind JWT/RBAC or an API gateway.
Logs may include projectId and apiKeyId. They must not include raw API keys, passwords or bearer tokens.