Skip to main content

Authentication

EldrStream uses two authentication mechanisms depending on the operation:

Login

Obtain a JWT session token by authenticating with your tenant credentials.

Request body

Example

Response

Error responses


Using the JWT

Pass the token as a Bearer value in the Authorization header on all management API calls:
Tokens expire after 2 hours. Requests made with an expired token return 401 Unauthorized. Re-authenticate by calling /v1/tenants/auth/login again.

Using the API Key

The API key authenticates event ingestion. Pass it as a key value in the EldrStream-API-Key header:
See Ingestion for the full ingest endpoint reference, and API Keys for how to retrieve and rotate your key.