Azure / azure-iot-hub-python

Azure IoT Hub Data Plane Python SDK
MIT License
16 stars 13 forks source link

azure-iot-hub vs azure-iot-sdk and identity. #15

Open alemag1986 opened 5 months ago

alemag1986 commented 5 months ago

Hi team,

First question, since we rely on IotHub for our daily ops and we are building services and processes around it, we would like to know if this library azure-iot-hub is the way to go or it has been deprecated, since it looks stale and we should favor azure-iot-sdk?

Second to that, we are trying to get rid of all connection string as much as possible. Our middleware, runs on Azure and the webapp has all the needed permissions to operate the IoTHub, create new devices, change device twin definition, check the state of devices and send direct methods. With that in mind, we haven't been able to integrate azure-identity. Does the library support Identity using something like DefaultAzureCredential from the azure-identity package? If identity is a possibility, do you mind sharing an example?

Kind regards, Alejandro