Hide credentials in RTSP cameras and servers #3968
-
QuestionHello everyone and sorry if this is a repeated question, I am implementing mediamtx at my home to centralize connections to my cameras and to use rtsps. To do this I will only activate rtsps over tcp and using username and password with sha256 encryption. Is there a way to hide the camera credentials in some way? I can think of creating the configuration file just before running mediamtx and deleting the file as soon as it has been run. I could implement this using systemd through ExecStartPre, ExecStart and ExecStartPost. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Also I see I can encrypt the configuration https://github.com/bluenviron/mediamtx?tab=readme-ov-file#encrypt-the-configuration |
Beta Was this translation helpful? Give feedback.
Exactly. Encrypt the configuration and specify a key when you launch the server.