GetStartedGuide.md
6/3/2021
8 / 12
az extension add --name azure-iot
az iot central device compute-device-key --device-id sample-device-01 --pk
Make a note of the generated device key, and the ID scope for this application and flash it on the device
4. Another way in which you can retrieve the key is by creating a device (please note that you can use the
Gateway Serial Number as the deviceId).