Azure-docs: X509 auto provisioning and device information

Created on 10 Jan 2019  Â·  3Comments  Â·  Source: MicrosoftDocs/azure-docs

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


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

cxp in-progress iot-dpsvc product-question triaged

All 3 comments

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..

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JamesDLD picture JamesDLD  Â·  3Comments

DeepPuddles picture DeepPuddles  Â·  3Comments

jharbieh picture jharbieh  Â·  3Comments

bityob picture bityob  Â·  3Comments

mrdfuse picture mrdfuse  Â·  3Comments