Setting secrets on deploy
Pass secrets when you deploy:Updating secrets
Update secrets on a running agent:Auto-injected variables
The platform automatically injects these into your agent’s environment at runtime:LIVEKIT_URLLIVEKIT_API_KEY(your Telnyx API key — used for both platform auth and model access)LIVEKIT_API_SECRET
LIVEKIT_API_KEY is your Telnyx API key. Telnyx can revoke it if needed, giving you a single credential to manage.
Local development
For local development, use a.env.local file: