rapid-honey-43838
02/27/2026, 12:27 PMtall-airline-16756
02/27/2026, 12:27 PMtall-airline-16756
02/27/2026, 12:27 PMlk agent secrets --id <agent-id>
This shows the secret names (for example OPENAI_API_KEY) but not their values.
• Update secrets without redeploying:
lk agent update-secrets --secrets KEY=VALUE --id <agent-id>
This restarts the agent with the new environment variables.
• Confirm presence of runtime-injected LiveKit credentials:
◦ LIVEKIT_API_KEY, LIVEKIT_API_SECRET, and LIVEKIT_URL are injected automatically and are not exposed in user-configured secret listings.
What you cannot do
• Retrieve the plaintext values of environment variables/secrets for a deployed agent via the CLI or dashboard. This is by design for security.
Safe alternatives to inspect values during development
• Log environment values locally during development (avoid logging sensitive values in production).
• Run the agent locally with the same secrets to verify values.
• If you need to change a value, use lk agent update-secrets to replace it.
If you want, tell me:
• your agent ID (or the livekit.toml project context), and
• whether you want to list keys or update a particular secret —
and I’ll give the exact command(s) and step-by-step for your case.
Sources: Agents Framework | livekit/livekit_composite | DeepWiki | Agents (Python) | livekit/livekit_composite | DeepWiki | Server-side | livekit/livekit_composite | DeepWiki