allow keys to be passed in from env (again), cli to use LIVEKIT prefix

This commit is contained in:
David Zhao
2021-01-25 21:34:16 -08:00
parent 1f8bb57c92
commit bd81b073d1
3 changed files with 13 additions and 2 deletions
+5
View File
@@ -42,6 +42,11 @@ func main() {
Name: "key-file",
Usage: "path to file that contains API keys/secrets",
},
&cli.StringFlag{
Name: "keys",
Usage: "api keys (key: secret\\n)",
EnvVars: []string{"LIVEKIT_KEYS"},
},
&cli.StringFlag{
Name: "redis-host",
Usage: "host (incl. port) to redis server",