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
Some devices may not have a certificate, TPM, or any other security feature that can be used to securely identify the device. For such devices, the Azure IoT Hub Device Provisioning Service (DPS) includes [symmetric key attestation](concepts-symmetric-key-attestation.md). Symmetric key attestation can be used to identify a device based on unique information like the MAC address or a serial number.
29
+
Some devices might not have a certificate, TPM, or any other security feature that can be used to securely identify the device. For such devices, the Azure IoT Hub Device Provisioning Service (DPS) includes [symmetric key attestation](concepts-symmetric-key-attestation.md). Symmetric key attestation can be used to identify a device based on unique information like the MAC address or a serial number.
30
30
31
31
In this tutorial, you complete the following objectives:
32
32
@@ -126,7 +126,7 @@ In this section, you prepare a development environment to build the [Azure IoT D
126
126
>[!TIP]
127
127
>If `cmake` does not find your C++ compiler, you may get build errors while running the above command. If that happens, try running the command in the [Visual Studio command prompt](/dotnet/framework/tools/developer-command-prompt-for-vs).
128
128
129
-
1. When the build completes successfully, the last few output lines will look similar to the following output:
129
+
1. When the build completes successfully, the last few output lines look similar to the following output:
@@ -401,7 +401,7 @@ The sample provisioning code accomplishes the following tasks:
401
401
402
402
2. Assigns the device to the IoT hub already linked to your Device Provisioning Service instance.
403
403
404
-
3. Sends a test telemetry message to the IoT hub.
404
+
3. Sends a test message to the IoT hub.
405
405
406
406
To update and run the provisioning sample with your device information:
407
407
@@ -427,7 +427,7 @@ To update and run the provisioning sample with your device information:
427
427
| `--g` or `--GlobalDeviceEndpoint` | False | The global endpoint for devices to connect to. Defaults to `global.azure-devices-provisioning.net` |
428
428
| `--t` or `--TransportType` | False | The transport to use to communicate with the device provisioning instance. Defaults to `Mqtt`. Possible values include `Mqtt`, `Mqtt_WebSocket_Only`, `Mqtt_Tcp_Only`, `Amqp`, `Amqp_WebSocket_Only`, `Amqp_Tcp_only`, and `Http1`.|
429
429
430
-
5. In the *SymmetricKeySample* folder, open *ProvisioningDeviceClientSample.cs* in a text editor. This file shows how the [SecurityProviderSymmetricKey](/dotnet/api/microsoft.azure.devices.shared.securityprovidersymmetrickey?view=azure-dotnet&preserve-view=true) class is used along with the [ProvisioningDeviceClient](/dotnet/api/microsoft.azure.devices.provisioning.client.provisioningdeviceclient?view=azure-dotnet&preserve-view=true) class to provision your simulated symmetric key device. Review the code in this file. No changes are needed.
430
+
5. In the *SymmetricKeySample* folder, open *ProvisioningDeviceClientSample.cs* in a text editor. This file shows how the [SecurityProviderSymmetricKey](/dotnet/api/microsoft.azure.devices.shared.securityprovidersymmetrickey?view=azure-dotnet&preserve-view=true) class works with the [ProvisioningDeviceClient](/dotnet/api/microsoft.azure.devices.provisioning.client.provisioningdeviceclient?view=azure-dotnet&preserve-view=true) class to provision your simulated symmetric key device. Review the code in this file. No changes are needed.
431
431
432
432
6. Build and run the sample code using the following command:
433
433
@@ -500,7 +500,7 @@ To update and run the provisioning sample with your device information:
You may comment out this code, as it's not needed with for this tutorial. A custom payload can be used when you use a custom allocation webhook to assign your device to an IoT Hub. For more information, see [Tutorial: Use custom allocation policies](tutorial-custom-allocation-policies.md).
503
+
You may comment out this code, as it's not needed with for this tutorial. You can use a custom payload when you use a custom allocation webhook to assign your device to an IoT Hub. For more information, see [Tutorial: Use custom allocation policies](tutorial-custom-allocation-policies.md).
504
504
505
505
The `provisioningClient.register()` method attempts the registration of your device.
506
506
@@ -509,7 +509,7 @@ To update and run the provisioning sample with your device information:
509
509
* The first command sets the `PROVISIONING_HOST` environment variable to the **Global device endpoint**. This endpoint is the same for all DPS instances.
510
510
* Replace `<id-scope>` with the **ID Scope** that you copied from the Azure portal.
511
511
* Replace `<registration-id>` with the registration ID that you chose in [Choose a unique registration ID for the device](#choose-a-unique-registration-id-for-the-device).
512
-
* Replace `<defived-device-key>` with the derived device key that you generated in [Derive a device key](#derive-a-device-key).
512
+
* Replace `<derived-device-key>` with the derived device key that you generated in [Derive a device key](#derive-a-device-key).
513
513
514
514
```cmd
515
515
set PROVISIONING_HOST=global.azure-devices-provisioning.net
@@ -563,7 +563,7 @@ The sample provisioning code accomplishes the following tasks, in order:
563
563
564
564
2. Assigns the device to the IoT hub already linked to your Device Provisioning Service instance.
565
565
566
-
3. Sends a test telemetry message to the IoT hub.
566
+
3. Sends a test message to the IoT hub.
567
567
568
568
To update and run the provisioning sample with your device information:
569
569
@@ -584,7 +584,7 @@ To update and run the provisioning sample with your device information:
584
584
* The first command sets the `PROVISIONING_HOST` environment variable to the **Global device endpoint**. This endpoint is the same for all DPS instances.
585
585
* Replace `<id-scope>` with the **ID Scope** that you copied from the Azure portal.
586
586
* Replace `<registration-id>` with the registration ID that you chose in [Choose a unique registration ID for the device](#choose-a-unique-registration-id-for-the-device).
587
-
* Replace `<defived-device-key>` with the derived device key that you generated in [Derive a device key](#derive-a-device-key).
587
+
* Replace `<derived-device-key>` with the derived device key that you generated in [Derive a device key](#derive-a-device-key).
588
588
589
589
```cmd
590
590
set PROVISIONING_HOST=global.azure-devices-provisioning.net
@@ -661,7 +661,7 @@ The sample provisioning code accomplishes the following tasks, in order:
661
661
662
662
2. Assigns the device to the IoT hub already linked to your Device Provisioning Service instance.
663
663
664
-
3. Sends a test telemetry message to the IoT hub.
664
+
3. Sends a test message to the IoT hub.
665
665
666
666
To update and run the provisioning sample with your device information:
0 commit comments