Azure / azure-iot-sdk-node

A Node.js SDK for connecting devices to Microsoft Azure IoT services
https://docs.microsoft.com/en-us/azure/iot-hub/
Other
261 stars 227 forks source link

samples: Connection string rename #1057

Closed danhellem closed 3 years ago

danhellem commented 3 years ago

Checklist

Reference/Link to the issue solved with this PR (if any)

Description of the problem

PNP samples and the Python repo samples use IOTHUB_DEVICE_CONNECTION_STRING instead of just DEVICE_CONNECTION_STRING.

Description of the solution

To make things consistent for customers who work across both SDKs, it makes sense to have the same env variable name. This PR renames it from DEVICE_CONNECTION_STRING to IOTHUB_DEVICE_CONNECTION_STRING