MQTT 是否应该每台设备一个帐户?

Should MQTT have one account per device?

如果MQTT账号共享固定在设备中,担心设备被破解导致账号泄露

我正在开发一个linux嵌入式设备,使用MQTT通信,目前MQTT账号在配置文件中。

感谢您John Rotenstein and Rimuru Tempest发布您的讨论作为帮助其他社区成员的答案。

Make sure to have X.509 certificate for each device. use this certificate to authenticate. This will help you remove the dependency of account.