loud-apple-6481
10/08/2025, 5:30 AMtall-airline-16756
10/08/2025, 5:30 AMtall-airline-16756
10/08/2025, 5:31 AM--overwrite flag will ask you to confirm before proceeding. If you don’t confirm, the command won’t continue.
• Agent ID Missing: Make sure you include the agent ID with the --id flag or have it set in your livekit.toml file.
• File Issues: Double-check that your .env file exists, is accessible, and uses the proper KEY=value format.
If you prefer, you can also update your secrets directly using the --secrets flag like this:
lk agent update-secrets --secrets KEY1=VALUE1 --secrets KEY2=VALUE2 --overwrite
Also, the lk agent update command lets you update secrets and metadata with similar flags. Just a quick note—keys like LIVEKIT_API_KEY, LIVEKIT_API_SECRET, and LIVEKIT_URL are skipped to avoid any conflicts.
If you have any questions or need more help, please don’t hesitate to reach out. I’m here for you!
Sources: Community & Support | livekit/livekit_composite | DeepWiki | pkg/agentfs/secrets-file.go | Agent deployment CLI reference | LiveKit Docs | Secrets management | LiveKit Docs