Skip to content

Commit 3b3538e

Browse files
Merge pull request #277508 from kgremban/jun6-uuf
Fix typo
2 parents 94b3f58 + b76352d commit 3b3538e

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

articles/iot-dps/how-to-legacy-device-symm-key.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The Azure IoT Hub Device Provisioning Service supports three forms of authentica
2626
* Trusted platform module (TPM)
2727
* Symmetric keys - **This tutorial demonstrates symmetric key attestation**
2828

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

3131
In this tutorial, you complete the following objectives:
3232

@@ -126,7 +126,7 @@ In this section, you prepare a development environment to build the [Azure IoT D
126126
>[!TIP]
127127
>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).
128128
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:
130130
131131
```output
132132
$ cmake -Dhsm_type_symm_key:BOOL=ON -Duse_prov_client:BOOL=ON ..
@@ -401,7 +401,7 @@ The sample provisioning code accomplishes the following tasks:
401401
402402
2. Assigns the device to the IoT hub already linked to your Device Provisioning Service instance.
403403
404-
3. Sends a test telemetry message to the IoT hub.
404+
3. Sends a test message to the IoT hub.
405405
406406
To update and run the provisioning sample with your device information:
407407
@@ -427,7 +427,7 @@ To update and run the provisioning sample with your device information:
427427
| `--g` or `--GlobalDeviceEndpoint` | False | The global endpoint for devices to connect to. Defaults to `global.azure-devices-provisioning.net` |
428428
| `--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`.|
429429
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.
431431
432432
6. Build and run the sample code using the following command:
433433
@@ -500,7 +500,7 @@ To update and run the provisioning sample with your device information:
500500
provisioningClient.setProvisioningPayload({a: 'b'});
501501
```
502502
503-
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).
504504
505505
The `provisioningClient.register()` method attempts the registration of your device.
506506
@@ -509,7 +509,7 @@ To update and run the provisioning sample with your device information:
509509
* The first command sets the `PROVISIONING_HOST` environment variable to the **Global device endpoint**. This endpoint is the same for all DPS instances.
510510
* Replace `<id-scope>` with the **ID Scope** that you copied from the Azure portal.
511511
* 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).
513513
514514
```cmd
515515
set PROVISIONING_HOST=global.azure-devices-provisioning.net
@@ -563,7 +563,7 @@ The sample provisioning code accomplishes the following tasks, in order:
563563
564564
2. Assigns the device to the IoT hub already linked to your Device Provisioning Service instance.
565565
566-
3. Sends a test telemetry message to the IoT hub.
566+
3. Sends a test message to the IoT hub.
567567
568568
To update and run the provisioning sample with your device information:
569569
@@ -584,7 +584,7 @@ To update and run the provisioning sample with your device information:
584584
* The first command sets the `PROVISIONING_HOST` environment variable to the **Global device endpoint**. This endpoint is the same for all DPS instances.
585585
* Replace `<id-scope>` with the **ID Scope** that you copied from the Azure portal.
586586
* 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).
588588

589589
```cmd
590590
set PROVISIONING_HOST=global.azure-devices-provisioning.net
@@ -661,7 +661,7 @@ The sample provisioning code accomplishes the following tasks, in order:
661661
662662
2. Assigns the device to the IoT hub already linked to your Device Provisioning Service instance.
663663
664-
3. Sends a test telemetry message to the IoT hub.
664+
3. Sends a test message to the IoT hub.
665665
666666
To update and run the provisioning sample with your device information:
667667

0 commit comments

Comments
 (0)