how to configure coturn with --use-auth-secret in management.json #1505

Open
opened 2025-11-20 05:31:51 -05:00 by saavagebueno · 0 comments
Owner

Originally created by @chefboyrdave21 on GitHub (Dec 20, 2024).

I saw in one of your issues - you stated you could configure netbird with --use-auth-secret in replace of the user/pass in the turnconfig :

"TURNConfig": {
    "TimeBasedCredentials": false,
    "CredentialsTTL": "12h0m0s",
    "Secret": "secret",
    "Turns": [
        {
            "Proto": "udp",
            "URI": "turn:turn.some.thing.it:3478",
            "Username": "self",
            "Password": "xxxxxxx"
        }
    ]
},

You stated to look at the .tmpl file - I can't seem to figure out what it should look like. I have an existing coturn server on the host - as you know its a pain to try to run multiple instances. I'd like to reuse what i have in place but it uses:

--use-auth-secret
--static-auth-secret=xxxxx

in the turnserver.conf file

I'd be so grateful if you could give me the entry - i suppose i could try to plugin in some stuff but seems like a wast of time to not just ask! thank you friend!

Originally created by @chefboyrdave21 on GitHub (Dec 20, 2024). I saw in one of your issues - you stated you could configure netbird with --use-auth-secret in replace of the user/pass in the turnconfig : "TURNConfig": { "TimeBasedCredentials": false, "CredentialsTTL": "12h0m0s", "Secret": "secret", "Turns": [ { "Proto": "udp", "URI": "turn:turn.some.thing.it:3478", "Username": "self", "Password": "xxxxxxx" } ] }, You stated to look at the .tmpl file - I can't seem to figure out what it should look like. I have an existing coturn server on the host - as you know its a pain to try to run multiple instances. I'd like to reuse what i have in place but it uses: --use-auth-secret --static-auth-secret=xxxxx in the turnserver.conf file I'd be so grateful if you could give me the entry - i suppose i could try to plugin in some stuff but seems like a wast of time to not just ask! thank you friend!
saavagebueno added the triage-needed label 2025-11-20 05:31:51 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#1505