Same coturn with long term & short term credentials

133 views
Skip to first unread message

Raju sn

unread,
Feb 27, 2024, 5:30:13 AM2/27/24
to TURN Server (Open-Source project)
Hello,

I have a requirement to support both long term & short term credentials mechanism on same coturn ..

-u, --user Long-term security mechanism credentials user account,
in the column-separated form username:key.
Multiple user accounts may be used in the command line.
The key is either the user password, or
the key is generated

--use-auth-secret TURN REST API flag.
Flag that sets a special WebRTC authorization option
that is based upon authentication secret. The feature purpose
is to support "TURN Server REST API" as described in
the TURN REST API section below.
This option uses timestamp as part of combined username:
usercombo -> "timestamp:username",
turn user -> usercombo,
turn password -> base64(hmac(input_buffer = usercombo, key = shared-secret)).

Above 2 references look to be useful, but do not work together.

Can you please suggest if short-term-credentials (and) long-term-credentials coexistence is possible (and) how to configure ?



Thanks,
Nagaraju Samudrala.
Reply all
Reply to author
Forward
0 new messages