Adding an admin user

138 views
Skip to first unread message

Taavi Ansper

unread,
Mar 5, 2023, 9:10:33 AM3/5/23
to TURN Server (Open-Source project)
Hi

I am trying to setup a coturn server and I have a question.

I have setup postgres database and it succesfully connected.

I have setup SSL (although without client verification, couldn't get CA-file to work)

Now I need to create the final piece - the admin account.


I have looked at this and there is not example how to add an admin.

I recommend writing out examples how to add admins for each db type.

Taavi Ansper

unread,
Mar 5, 2023, 9:19:53 AM3/5/23
to TURN Server (Open-Source project)
This is the command to add an admin user for psql.

Where db is my docker compose hostname for psql container.

turnadmin --add-admin --psql-userdb "host=db dbname=coturn user=coturn password=REDACTED connect_timeout=30" --user admin --realm REDACTED--password REDACTED
Reply all
Reply to author
Forward
0 new messages