Hi,
I have followed the the documentation at https://docs.microsoft.com/en-us/azure/iot-dps/quick-create-simulated-device-x509 . After the device is provisioned it returns the IoT Hub name and the device ID that was created. For further processing to send messages to hub we will need the complete IoTHub connection string with sharedaccesskeyName & sharedAccessKey.
Hot do we get the complete connection string?
-Thanks
Khader
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
Thanks for the feedback! We are currently investigating and will update you shortly.
Hello @saifuddin123 ,
If you use Device Provisioning Service with X509 authentication you won't need to use a connection string.
See: Authenticate your X.509 device with the X.509 certificates
You also have a sample for C: https://github.com/Azure/azure-iot-sdk-c/tree/master/iothub_client/samples/iothub_ll_client_x509_sample
Thanks!
Thanks you..