Skip to main content
There is no elding login browser flow in production. Provide the token and set through two environment variables. The SDK reads them automatically, so your code does not change.
Keep these exact names. The SDK detects them automatically, with no options required for configure(). The same code works in development and production.

An HTTP API key with configure()

Use exactly the same code as in development:
Elding does not replace non-HTTP variables. Keep DATABASE_URL, JWT_SECRET, REDIS_URL, certificates, and database passwords in your platform’s environment variables.

Where to find the two values

Your API keys remain in the vault and are retrieved at runtime through one token. Rotation, revocation, and audit logs remain centralized.Rotation propagation: the SDK caches API keys in memory for up to 5 minutes. After rotating a key in the dashboard, the new value is active across all your instances within 5 minutes, without redeploying.

How to generate these variables

Step-by-step guide: CLI method and dashboard method.