Environment variables to control authentication
We are setting up a few coturn instances, and we need to automate the authentication parts. We could not find any documentation on environment variables that control authentication, or which could be used to create a single default user at first run. Based on what we see in the git repo it sounds like we need to write code to alter the turnserver.conf based on new variables we invent (e.g. using envsubst and other tools). We just want to be sure that this doesn't already exist before we go down that path (since most projects have this type of configurability already).
Hi @ronnessim If I understand your question correctly - there are 3 ways coturn accepts authentication settings:
- config file
- cli arguments
- database
For the first 2 you need to write code on how the auth info is plumbed - as you pointed out correctly