AzureIoT_OverrideAzureSphereAuthDPS
Header
azure_sphere_provisioning.h
Comments
Note
Only use this function when an organization-managed certificate chain is required, and the distribution and security of that certificate chain is actively managed, otherwise use the built-in authentication demonstrated in the AzureIoT DPS sample.
Override Azure Sphere certificates and use the specified certificate and private key during DPS provisioning. Once DPS registration is complete and an IOTHUB_DEVICE_CLIENT_LL_HANDLE handle has been retrieved by calling IoTHubDeviceClient_LL_CreateFromDeviceAuth, the AzureIoT_OverrideAzureSphereAuthIoTHub api will need to be called on the new IOTHUB_DEVICE_CLIENT_LL_HANDLE to indicate that the IoTHub connection should continue to use the specified certificate and private key.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for