Thanks, I expected that answer, but past experience taught me not to assume and be litteral, so sorry if I seem to be asking stupid Qs.
I have one more ...
The config file incl;udes the following ...
# TURN REST API flag.
# Flag that sets a special authorization option that is based upon authentication secret.
# This feature can be used with the long-term authentication mechanism, only.
# This feature purpose is to support "TURN Server REST API", see
# "TURN REST API" link in the project's page
#
https://github.com/coturn/coturn/#
# This option is used with timestamp:
#
# usercombo -> "timestamp:userid"
# turn user -> usercombo
# turn password -> base64(hmac(secret key, usercombo))
#
# This allows TURN credentials to be accounted for a specific user id.
# If you don't have a suitable id, the timestamp alone can be used.
# This option is just turning on secret-based authentication.
# The actual value of the secret is defined either by option static-auth-secret,
# or can be found in the turn_secret table in the database (see below).
#
#use-auth-secret
# 'Static' authentication secret value (a string) for TURN REST API only.
# If not set, then the turn server
# will try to use the 'dynamic' value in turn_secret table
# in user database (if present). The database-stored value can be changed on-the-fly
# by a separate program, so this is why that other mode is 'dynamic'.
#
#static-auth-secret=north
The sample code has the lines ...
use-auth-secret
static-auth-secret=<random value>
which I take to be the same commented out lines as above with <random value> = north
This just looks like a simple string, so what is the references to
# This option is used with timestamp:
#
# usercombo -> "timestamp:userid"
# turn user -> usercombo
# turn password -> base64(hmac(secret key, usercombo))
all about and why does the guide say "(instructions for generating a new secret are in a comment in the file)" because I don't really get
what the whole timestamp references are suggesting we actually do in creating the secret or what the format is ... it all seems
contradictory.
I know I am probably being very dim, but I am confused ...
Thanks you so much for all your help.