You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/iot-central/core/concepts-get-connected.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,7 @@ To learn more, see [How to connect devices with X.509 certificates](how-to-conne
59
59
60
60
For testing only, you can use the following utilities to generate root, intermediate, and device certificates:
61
61
62
-
-[Tools for the Azure IoT Device Provisioning Device SDK](https://github.com/Azure/azure-iot-sdk-node/blob/master/provisioning/tools/readme.md): a collection of Node.js tools that you can use to generate and verify X.509 certificates and keys.
62
+
-[Tools for the Azure IoT Device Provisioning Device SDK](https://github.com/Azure/azure-iot-sdk-node/blob/main/provisioning/tools/readme.md): a collection of Node.js tools that you can use to generate and verify X.509 certificates and keys.
63
63
-[Manage test CA certificates for samples and tutorials](https://github.com/Azure/azure-iot-sdk-c/blob/master/tools/CACertificates/CACertificateOverview.md): a collection of PowerShell and Bash scripts to:
64
64
- Create a certificate chain.
65
65
- Save the certificates as .cer files to upload to your IoT Central application.
@@ -102,7 +102,7 @@ IoT Central supports the following attestation mechanisms for individual enrollm
102
102
- **X.509 certificates:** To create an individual enrollment with X.509 certificates, open the **Device Connection** page, select **Individual enrollment** as the connection method, and **Certificates (X.509)** as the mechanism. Device certificates used with an individual enrollment entry have a requirement that the issuer and subject CN are set to the device ID.
103
103
104
104
> [!TIP]
105
-
> For testing, you can use [Tools for the Azure IoT Device Provisioning Device SDK for Node.js](https://github.com/Azure/azure-iot-sdk-node/tree/master/provisioning/tools) to generate a self-signed certificate: `node create_test_cert.js device "mytestdevice"`
105
+
> For testing, you can use [Tools for the Azure IoT Device Provisioning Device SDK for Node.js](https://github.com/Azure/azure-iot-sdk-node/tree/main/provisioning/tools) to generate a self-signed certificate: `node create_test_cert.js device "mytestdevice"`
106
106
107
107
- **Trusted Platform Module (TPM) attestation:** A [TPM](../../iot-dps/concepts-tpm-attestation.md) is a type of hardware security module. Using a TPM is one of the most secure ways to connect a device. This article assumes you're using a discrete, firmware, or integrated TPM. Software emulated TPMs are well suited for prototyping or testing, but they don't provide the same level of security as discrete, firmware, or integrated TPMs. Don't use software TPMs in production. To create an individual enrollment that uses a TPM, open the **Device Connection** page, select **Individual enrollment** as the connection method, and **TPM** as the mechanism. Enter the TPM endorsement key and save the device connection information.
Copy file name to clipboardExpand all lines: articles/iot-develop/libraries-sdks.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,8 +21,8 @@ The IoT Plug and Play libraries and SDKs enable developers to build IoT solution
21
21
| C - Device |[vcpkg 1.3.9](https://github.com/Azure/azure-iot-sdk-c/blob/master/doc/setting_up_vcpkg.md)|[GitHub](https://github.com/Azure/azure-iot-sdk-c)|[Samples](https://github.com/Azure/azure-iot-sdk-c/tree/master/iothub_client/samples/pnp)|[Connect to IoT Hub](tutorial-connect-device.md)|[Reference](/azure/iot-hub/iot-c-sdk-ref/)|
22
22
| .NET - Device |[NuGet 1.31.0](https://www.nuget.org/packages/Microsoft.Azure.Devices.Client)|[GitHub](https://github.com/Azure/azure-iot-sdk-csharp/tree/main/)|[Samples](https://github.com/Azure-Samples/azure-iot-samples-csharp/tree/main/iot-hub/Samples/device/PnpDeviceSamples)|[Connect to IoT Hub](tutorial-connect-device.md)|[Reference](/dotnet/api/microsoft.azure.devices.client)|
23
23
| Java - Device |[Maven 1.26.0](https://mvnrepository.com/artifact/com.microsoft.azure.sdk.iot/iot-device-client)|[GitHub](https://github.com/Azure/azure-iot-sdk-java/tree/main/)|[Samples](https://github.com/Azure/azure-iot-sdk-java/tree/main/device/iot-device-samples/pnp-device-sample)|[Connect to IoT Hub](tutorial-connect-device.md)|[Reference](/java/api/com.microsoft.azure.sdk.iot.device)|
24
-
| Python - Device |[pip 2.3.0](https://pypi.org/project/azure-iot-device/)|[GitHub](https://github.com/Azure/azure-iot-sdk-python/tree/master/)|[Samples](https://github.com/Azure/azure-iot-sdk-python/tree/master/azure-iot-device/samples/pnp)|[Connect to IoT Hub](tutorial-connect-device.md)|[Reference](/python/api/azure-iot-device/azure.iot.device)|
25
-
| Node - Device |[npm 1.17.2](https://www.npmjs.com/package/azure-iot-device)|[GitHub](https://github.com/Azure/azure-iot-sdk-node/tree/master/)|[Samples](https://github.com/Azure/azure-iot-sdk-node/tree/master/device/samples/javascript/pnp)|[Connect to IoT Hub](tutorial-connect-device.md)|[Reference](/javascript/api/azure-iot-device/)|
24
+
| Python - Device |[pip 2.3.0](https://pypi.org/project/azure-iot-device/)|[GitHub](https://github.com/Azure/azure-iot-sdk-python)|[Samples](https://github.com/Azure/azure-iot-sdk-python/tree/main/azure-iot-device/samples/pnp)|[Connect to IoT Hub](tutorial-connect-device.md)|[Reference](/python/api/azure-iot-device/azure.iot.device)|
25
+
| Node - Device |[npm 1.17.2](https://www.npmjs.com/package/azure-iot-device)|[GitHub](https://github.com/Azure/azure-iot-sdk-node)|[Samples](https://github.com/Azure/azure-iot-sdk-node/tree/main/device/samples/javascript/pnp)|[Connect to IoT Hub](tutorial-connect-device.md)|[Reference](/javascript/api/azure-iot-device/)|
26
26
| Embedded C - Device | N/A | [GitHub](https://github.com/Azure/azure-sdk-for-c/)| [Samples](tutorial-connect-device.md?pivots=programming-language-embedded-c#samples) | [How to use Embedded C](tutorial-connect-device.md?pivots=programming-language-embedded-c) | N/A
27
27
28
28
## Service SDKs
@@ -31,9 +31,9 @@ The IoT Plug and Play libraries and SDKs enable developers to build IoT solution
31
31
|---|---|---|---|---|---|
32
32
| .NET - IoT Hub service |[NuGet 1.27.1](https://www.nuget.org/packages/Microsoft.Azure.Devices)|[GitHub](https://github.com/Azure/azure-iot-sdk-csharp)|[Samples](https://github.com/Azure-Samples/azure-iot-samples-csharp/tree/main/iot-hub/Samples/service/PnpServiceSamples)| N/A |[Reference](/dotnet/api/microsoft.azure.devices)|
33
33
| Java - IoT Hub service |[Maven 1.26.0](https://mvnrepository.com/artifact/com.microsoft.azure.sdk.iot/iot-service-client/1.26.0)|[GitHub](https://github.com/Azure/azure-iot-sdk-java)|[Samples](https://github.com/Azure/azure-iot-sdk-java/tree/main/service/iot-service-samples/pnp-service-sample)| N/A |[Reference](/java/api/com.microsoft.azure.sdk.iot.service)|
34
-
| Node - IoT Hub service |[npm 1.13.0](https://www.npmjs.com/package/azure-iothub)|[GitHub](https://github.com/Azure/azure-iot-sdk-node)|[Samples](https://github.com/Azure/azure-iot-sdk-node/tree/master/service/samples)| N/A |[Reference](/javascript/api/azure-iothub/)|
35
-
| Python - Digital Twins service |[pip 2.2.3](https://pypi.org/project/azure-iot-hub)|[GitHub](https://github.com/Azure/azure-iot-sdk-python)|[Samples](https://github.com/Azure/azure-iot-sdk-python/tree/master/azure-iot-hub/samples)|[Interact with IoT Hub Digital Twins API](tutorial-service.md)| N/A |
36
-
| Node - Digital Twins service |[npm 1.13.0](https://www.npmjs.com/package/azure-iot-digitaltwins-service)|[GitHub](https://github.com/Azure/azure-iot-sdk-node)|[Samples](https://github.com/Azure/azure-iot-sdk-node/tree/master/service/samples/javascript)|[Interact with IoT Hub Digital Twins API](tutorial-service.md)| N/A |
34
+
| Node - IoT Hub service |[npm 1.13.0](https://www.npmjs.com/package/azure-iothub)|[GitHub](https://github.com/Azure/azure-iot-sdk-node)|[Samples](https://github.com/Azure/azure-iot-sdk-node/tree/main/service/samples)| N/A |[Reference](/javascript/api/azure-iothub/)|
35
+
| Python - Digital Twins service |[pip 2.2.3](https://pypi.org/project/azure-iot-hub)|[GitHub](https://github.com/Azure/azure-iot-sdk-python)|[Samples](https://github.com/Azure/azure-iot-sdk-python/tree/main/azure-iot-hub/samples)|[Interact with IoT Hub Digital Twins API](tutorial-service.md)| N/A |
36
+
| Node - Digital Twins service |[npm 1.13.0](https://www.npmjs.com/package/azure-iot-digitaltwins-service)|[GitHub](https://github.com/Azure/azure-iot-sdk-node)|[Samples](https://github.com/Azure/azure-iot-sdk-node/tree/main/service/samples/javascript)|[Interact with IoT Hub Digital Twins API](tutorial-service.md)| N/A |
Copy file name to clipboardExpand all lines: articles/iot-dps/quick-create-simulated-device-tpm.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -588,7 +588,7 @@ In this section, you'll configure sample code to use the [Advanced Message Queui
588
588
```
589
589
590
590
> [!NOTE]
591
-
> The **Azure IoT SDK for Node.js** supports additional protocols like _AMQP_, _AMQP WS_, and _MQTT WS_. For more examples, see [Device Provisioning Service SDK for Node.js samples](https://github.com/Azure/azure-iot-sdk-node/tree/master/provisioning/device/samples).
591
+
> The **Azure IoT SDK for Node.js** supports additional protocols like _AMQP_, _AMQP WS_, and _MQTT WS_. For more examples, see [Device Provisioning Service SDK for Node.js samples](https://github.com/Azure/azure-iot-sdk-node/tree/main/provisioning/device/samples).
592
592
>
593
593
594
594
6. Add **globalDeviceEndpoint** and **idScope** variables and use them to create a **ProvisioningDeviceClient** instance. Replace **{globalDeviceEndpoint}** and **{idScope}** with the **_Global Device Endpoint_** and **_ID Scope_** values from **Step 1**:
Copy file name to clipboardExpand all lines: articles/iot-dps/quick-create-simulated-device-x509.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -582,7 +582,7 @@ In this section, we'll update the sample code to send the device's boot sequence
582
582
583
583
::: zone pivot="programming-language-python"
584
584
585
-
The Python provisioning sample, [provision_x509.py](https://github.com/Azure/azure-iot-sdk-python/blob/master/azure-iot-device/samples/async-hub-scenarios/provision_x509.py) is located in the `azure-iot-sdk-python/azure-iot-device/samples/async-hub-scenarios` directory. This sample uses six environment variables to authenticate and provision an IoT device using DPS. These environment variables are:
585
+
The Python provisioning sample, [provision_x509.py](https://github.com/Azure/azure-iot-sdk-python/blob/main/azure-iot-device/samples/async-hub-scenarios/provision_x509.py) is located in the `azure-iot-sdk-python/azure-iot-device/samples/async-hub-scenarios` directory. This sample uses six environment variables to authenticate and provision an IoT device using DPS. These environment variables are:
@@ -647,7 +647,7 @@ The Python provisioning sample, [provision_x509.py](https://github.com/Azure/azu
647
647
$export PASS_PHRASE=1234
648
648
```
649
649
650
-
7. Review the code for [provision_x509.py](https://github.com/Azure/azure-iot-sdk-python/blob/master/azure-iot-device/samples/async-hub-scenarios/provision_x509.py). If you're not using **Python version 3.7** or later, make the [code change mentioned here](https://github.com/Azure/azure-iot-sdk-python/tree/master/azure-iot-device/samples/async-hub-scenarios#advanced-iot-hub-scenario-samples-for-the-azure-iot-hub-device-sdk) to replace `asyncio.run(main())`.
650
+
7. Review the code for [provision_x509.py](https://github.com/Azure/azure-iot-sdk-python/blob/main/azure-iot-device/samples/async-hub-scenarios/provision_x509.py). If you're not using **Python version 3.7** or later, make the [code change mentioned here](https://github.com/Azure/azure-iot-sdk-python/tree/main/azure-iot-device/samples/async-hub-scenarios#advanced-iot-hub-scenario-samples-for-the-azure-iot-hub-device-sdk) to replace `asyncio.run(main())`.
You also can use the [IoT extension for Azure CLI](https://github.com/Azure/azure-iot-cli-extension) to complete the same device creation operation. The following example uses the [az iot hub device-identity](/cli/azure/iot/hub/device-identity) command to create a new IoT device with X.509 self-signed authentication and assigns a parent device:
130
130
@@ -166,9 +166,9 @@ This section is based on the IoT Hub X.509 certificate tutorial series. See [Und
166
166
167
167
* C#: [Set up X.509 security in your Azure IoT hub](../iot-hub/tutorial-x509-test-certificate.md)
You also can use the [IoT extension for Azure CLI](https://github.com/Azure/azure-iot-cli-extension) to complete the same device creation operation. The following example uses the [az iot hub device-identity](/cli/azure/iot/hub/device-identity) command to create a new IoT device with X.509 CA signed authentication and assigns a parent device:
Copy file name to clipboardExpand all lines: articles/iot-edge/how-to-connect-downstream-device.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -139,7 +139,7 @@ Have two things ready before using the application-level samples:
139
139
140
140
This section provides a sample application to connect an Azure IoT NodeJS device client to an IoT Edge gateway. For NodeJS applications, you must install the root CA certificate at the application level as shown here. NodeJS applications don't use the system's certificate store.
141
141
142
-
1. Get the sample for **edge_downstream_device.js** from the [Azure IoT device SDK for Node.js samples repo](https://github.com/Azure/azure-iot-sdk-node/tree/master/device/samples).
142
+
1. Get the sample for **edge_downstream_device.js** from the [Azure IoT device SDK for Node.js samples repo](https://github.com/Azure/azure-iot-sdk-node/tree/main/device/samples).
143
143
2. Make sure that you have all the prerequisites to run the sample by reviewing the **readme.md** file.
144
144
3. In the edge_downstream_device.js file, update the **connectionString** and **edge_ca_cert_path** variables.
145
145
4. Refer to the SDK documentation for instructions on how to run the sample on your device.
@@ -198,7 +198,7 @@ This section introduces a sample application to connect an Azure IoT Java device
198
198
199
199
This section introduces a sample application to connect an Azure IoT Python device client to an IoT Edge gateway.
200
200
201
-
1. Get the sample for **send_message_downstream** from the [Azure IoT device SDK for Python samples](https://github.com/Azure/azure-iot-sdk-python/tree/master/azure-iot-device/samples/async-edge-scenarios).
201
+
1. Get the sample for **send_message_downstream** from the [Azure IoT device SDK for Python samples](https://github.com/Azure/azure-iot-sdk-python/tree/main/azure-iot-device/samples/async-edge-scenarios).
202
202
2. Set the `IOTHUB_DEVICE_CONNECTION_STRING` and `IOTEDGE_ROOT_CA_CERT_PATH` environment variables as specified in the Python script comments.
203
203
3. Refer to the SDK documentation for any additional instructions on how to run the sample on your device.
0 commit comments