Azure / azure-iot-sdk-c

A C99 SDK for connecting devices to Microsoft Azure IoT services
https://azure.github.io/azure-iot-sdk-c
Other
584 stars 739 forks source link

Does MQTT_Websockets support SAS authentication? #2577

Closed YrnehEpoc closed 6 months ago

YrnehEpoc commented 6 months ago

According to the ReadMe, mqtt-ws connecting to IoT Hub only supports X-509 CA at the moment. However, I've run the iothub_LL_telemetry_sample on my PC and found that I can use either mqtt or mqtt_ws with SAS authentication. Should the asterisk be removed since it seems capable of both?

ewertons commented 6 months ago

Hi @YrnehEpoc , I believe the phrasing is poorly constructed there. It reads "*IoT Hub only supports X-509 CA Signed over AMQP and MQTT at the moment.", which should be "IoT Hub supports X-509 CA Signed over AMQP and MQTT (including over websockets, respectively) at the moment."

YrnehEpoc commented 6 months ago

@ewertons Sounds good