Azure / iotedgedev

The Azure IoT Edge Dev Tool greatly simplifies your Azure IoT Edge development process. It has everything you need to get started and helps with your day-to-day Edge development.
https://aka.ms/iotedgedev
Other
160 stars 71 forks source link

Enabling DPS for iotedgedev solution deploy #576

Closed seanmiller168 closed 2 years ago

seanmiller168 commented 2 years ago

Checklist

This checklist is used to make sure that common guidelines for a pull request are followed.

General guidelines

Description

Fixes #487

Made sure that the device_id is set so that iotedgedev solution deploy doesn't fail when X509 certification is used for authentication.

Added unit tests to validate that deployment succeeds whether SharedAccessKey is used or not.

Some minor refactoring to make code intent a little more clear.

Additional information

Co-author: @angie4u

ghost commented 2 years ago

CLA assistant check
All CLA requirements met.