Skip to content

Commit 2f39c97

Browse files
authored
Merge pull request #102806 from TimShererWithAquent/us1668386a
[Quickstart consistency] 1668386 IoT DPS 1 of 2
2 parents f17e685 + 3e6c95b commit 2f39c97

6 files changed

+96
-49
lines changed

articles/iot-dps/quick-create-simulated-device-tpm-java.md

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,16 @@ ms.custom: mvc
1515

1616
[!INCLUDE [iot-dps-selector-quick-create-simulated-device-tpm](../../includes/iot-dps-selector-quick-create-simulated-device-tpm.md)]
1717

18-
These steps show how to create a simulated device on your development machine running Windows OS, run the Windows TPM simulator as the [Hardware Security Module (HSM)](https://azure.microsoft.com/blog/azure-iot-supports-new-security-hardware-to-strengthen-iot-security/) of the device, and use the code sample to connect this simulated device with the Device Provisioning Service and your IoT hub.
18+
In this quickstart, you create a simulated IoT device on a Windows computer. The simulated device includes a TPM simulator as a Hardware Security Module (HSM). You use device sample Java code to connect this simulated device with your IoT hub using an individual enrollment with the Device Provisioning Service (DPS).
1919

20-
If you're unfamiliar with the process of autoprovisioning, be sure to also review [Auto-provisioning concepts](concepts-auto-provisioning.md). Also make sure you've completed the steps in [Set up IoT Hub Device Provisioning Service with the Azure portal](./quick-setup-auto-provision.md) before continuing.
20+
## Prerequisites
2121

22-
The Azure IoT Device Provisioning Service supports two types of enrollments:
23-
- [Enrollment groups](concepts-service.md#enrollment-group): Used to enroll multiple related devices.
24-
- [Individual Enrollments](concepts-service.md#individual-enrollment): Used to enroll a single device.
25-
26-
This article will demonstrate individual enrollments.
22+
- Review of [Auto-provisioning concepts](concepts-auto-provisioning.md).
23+
- Completion of [Set up IoT Hub Device Provisioning Service with the Azure portal](./quick-setup-auto-provision.md).
24+
- An Azure account with an active subscription. [Create one for free](https://azure.microsoft.com/free/?ref=microsoft.com&utm_source=microsoft.com&utm_medium=docs&utm_campaign=visualstudio).
25+
- [Java SE Development Kit 8](https://aka.ms/azure-jdks).
26+
- [Maven](https://maven.apache.org/install.html).
27+
- [Git](https://git-scm.com/download/).
2728

2829
[!INCLUDE [IoT Device Provisioning Service basic](../../includes/iot-dps-basic.md)]
2930

@@ -41,7 +42,7 @@ This article will demonstrate individual enrollments.
4142
git clone https://github.com/Azure/azure-iot-sdk-java.git --recursive
4243
```
4344
44-
1. Run the [TPM](https://docs.microsoft.com/windows/device-security/tpm/trusted-platform-module-overview) simulator. Click **Allow access** to allow changes to _Windows Firewall_ settings. It listens over a socket on ports 2321 and 2322. Do not close this window; you need to keep this simulator running until the end of this quickstart guide.
45+
1. Run the [TPM](https://docs.microsoft.com/windows/device-security/tpm/trusted-platform-module-overview) simulator to be the [HSM](https://azure.microsoft.com/blog/azure-iot-supports-new-security-hardware-to-strengthen-iot-security/) for the simulated device. Click **Allow access** to allow changes to _Windows Firewall_ settings. It listens over a socket on ports 2321 and 2322. Do not close this window; you need to keep this simulator running until the end of this quickstart guide.
4546
4647
```cmd/sh
4748
.\azure-iot-sdk-java\provisioning\provisioning-tools\tpm-simulator\Simulator.exe
@@ -90,6 +91,13 @@ This article will demonstrate individual enrollments.
9091
9192
## Create a device enrollment entry
9293
94+
The Azure IoT Device Provisioning Service supports two types of enrollments:
95+
96+
- [Enrollment groups](concepts-service.md#enrollment-group): Used to enroll multiple related devices.
97+
- [Individual enrollments](concepts-service.md#individual-enrollment): Used to enroll a single device.
98+
99+
This article demonstrates individual enrollments.
100+
93101
1. Sign in to the Azure portal, select the **All resources** button on the left-hand menu and open your Device Provisioning service.
94102
95103
1. From the Device Provisioning Service menu, select **Manage enrollments**. Select **Individual Enrollments** tab and select the **Add individual enrollment** button at the top.

articles/iot-dps/quick-create-simulated-device-tpm-node.md

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ ms.custom: mvc
1414

1515
[!INCLUDE [iot-dps-selector-quick-create-simulated-device-tpm](../../includes/iot-dps-selector-quick-create-simulated-device-tpm.md)]
1616

17-
These steps show how to create a simulated device on your development machine running Windows OS, run the Windows TPM simulator as the [Hardware Security Module (HSM)](https://azure.microsoft.com/blog/azure-iot-supports-new-security-hardware-to-strengthen-iot-security/) of the device, and use the code sample to connect this simulated device with the Device Provisioning Service and your IoT hub.
17+
In this quickstart, you create a simulated IoT device on a Windows computer. The simulated device includes a TPM simulator as a Hardware Security Module (HSM). You use device sample Node.js code to connect this simulated device with your IoT hub using an individual enrollment with the Device Provisioning Service (DPS).
1818

19-
If you're unfamiliar with the process of autoprovisioning, be sure to also review [Auto-provisioning concepts](concepts-auto-provisioning.md). Also make sure you've completed the steps in [Set up IoT Hub Device Provisioning Service with the Azure portal](./quick-setup-auto-provision.md) before continuing.
19+
## Prerequisites
2020

21-
The Azure IoT Device Provisioning Service supports two types of enrollments:
22-
- [Enrollment groups](concepts-service.md#enrollment-group): Used to enroll multiple related devices.
23-
- [Individual Enrollments](concepts-service.md#individual-enrollment): Used to enroll a single device.
24-
25-
This article will demonstrate individual enrollments.
21+
- Review of [Auto-provisioning concepts](concepts-auto-provisioning.md).
22+
- Completion of [Set up IoT Hub Device Provisioning Service with the Azure portal](./quick-setup-auto-provision.md).
23+
- An Azure account with an active subscription. [Create one for free](https://azure.microsoft.com/free/?ref=microsoft.com&utm_source=microsoft.com&utm_medium=docs&utm_campaign=visualstudio).
24+
- [Node.js v4.0+](https://nodejs.org).
25+
- [Git](https://git-scm.com/download/).
2626

2727
[!INCLUDE [IoT Device Provisioning Service basic](../../includes/iot-dps-basic.md)]
2828

@@ -41,7 +41,7 @@ This article will demonstrate individual enrollments.
4141
git clone https://github.com/Azure/azure-utpm-c.git --recursive
4242
```
4343
44-
1. Navigate to the GitHub root folder and run the [TPM](https://docs.microsoft.com/windows/device-security/tpm/trusted-platform-module-overview) simulator. It listens over a socket on ports 2321 and 2322. Do not close this command window; you need to keep this simulator running until the end of this quickstart guide:
44+
1. Navigate to the GitHub root folder and run the [TPM](https://docs.microsoft.com/windows/device-security/tpm/trusted-platform-module-overview) simulator to be the [HSM](https://azure.microsoft.com/blog/azure-iot-supports-new-security-hardware-to-strengthen-iot-security/) for the simulated device. It listens over a socket on ports 2321 and 2322. Do not close this command window; you need to keep this simulator running until the end of this quickstart guide:
4545
4646
```cmd/sh
4747
.\azure-utpm-c\tools\tpm_simulator\Simulator.exe
@@ -130,6 +130,13 @@ This article will demonstrate individual enrollments.
130130
131131
## Create a device entry
132132
133+
The Azure IoT Device Provisioning Service supports two types of enrollments:
134+
135+
- [Enrollment groups](concepts-service.md#enrollment-group): Used to enroll multiple related devices.
136+
- [Individual enrollments](concepts-service.md#individual-enrollment): Used to enroll a single device.
137+
138+
This article demonstrates individual enrollments.
139+
133140
1. Sign in to the Azure portal, select the **All resources** button on the left-hand menu and open your Device Provisioning service.
134141
135142
1. From the Device Provisioning Service menu, select **Manage enrollments**. Select **Individual Enrollments** tab and select the **Add individual enrollment** button at the top.

articles/iot-dps/quick-create-simulated-device-tpm-python.md

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,19 @@ ms.custom: mvc
1515

1616
[!INCLUDE [iot-dps-selector-quick-create-simulated-device-tpm](../../includes/iot-dps-selector-quick-create-simulated-device-tpm.md)]
1717

18-
These steps show how to create a simulated device on your development machine running Windows OS, run the Windows TPM simulator as the [Hardware Security Module (HSM)](https://azure.microsoft.com/blog/azure-iot-supports-new-security-hardware-to-strengthen-iot-security/) of the device, and use the Python code sample to connect this simulated device with the Device Provisioning Service and your IoT hub.
18+
In this quickstart, you create a simulated IoT device on a Windows computer. The simulated device includes a TPM simulator as a Hardware Security Module (HSM). You use device sample Python code to connect this simulated device with your IoT hub using an individual enrollment with the Device Provisioning Service (DPS).
1919

20-
> [!IMPORTANT]
21-
> This article only applies to the deprecated V1 Python SDK. Device and service clients for the Iot Hub Device Provisioning Service are not yet available in V2. The team is currently hard at work to bring V2 to feature parity.
22-
23-
If you're unfamiliar with the process of autoprovisioning, be sure to also review [Auto-provisioning concepts](concepts-auto-provisioning.md). Also make sure you've completed the steps in [Set up IoT Hub Device Provisioning Service with the Azure portal](./quick-setup-auto-provision.md) before continuing.
20+
## Prerequisites
2421

25-
The Azure IoT Device Provisioning Service supports two types of enrollments:
26-
- [Enrollment groups](concepts-service.md#enrollment-group): Used to enroll multiple related devices.
27-
- [Individual Enrollments](concepts-service.md#individual-enrollment): Used to enroll a single device.
22+
- Review of [Auto-provisioning concepts](concepts-auto-provisioning.md).
23+
- Completion of [Set up IoT Hub Device Provisioning Service with the Azure portal](./quick-setup-auto-provision.md).
24+
- An Azure account with an active subscription. [Create one for free](https://azure.microsoft.com/free/?ref=microsoft.com&utm_source=microsoft.com&utm_medium=docs&utm_campaign=visualstudio).
25+
- [Visual Studio 2015+](https://visualstudio.microsoft.com/vs/) with Desktop development with C++.
26+
- [CMake build system](https://cmake.org/download/).
27+
- [Git](https://git-scm.com/download/).
2828

29-
This article will demonstrate individual enrollments.
29+
> [!IMPORTANT]
30+
> This article only applies to the deprecated V1 Python SDK. Device and service clients for the Iot Hub Device Provisioning Service are not yet available in V2. The team is currently hard at work to bring V2 to feature parity.
3031
3132
[!INCLUDE [IoT Device Provisioning Service basic](../../includes/iot-dps-basic.md)]
3233

@@ -58,7 +59,7 @@ This article will demonstrate individual enrollments.
5859
cmake -Duse_prov_client:BOOL=ON -Duse_tpm_simulator:BOOL=ON ..
5960
```
6061
61-
1. In a separate command prompt, navigate to the TPM simulator folder and run the [TPM](https://docs.microsoft.com/windows/device-security/tpm/trusted-platform-module-overview) simulator. Click **Allow Access**. It listens over a socket on ports 2321 and 2322. Do not close this command window; you will need to keep this simulator running until the end of this quickstart guide.
62+
1. In a separate command prompt, navigate to the TPM simulator folder and run the [TPM](https://docs.microsoft.com/windows/device-security/tpm/trusted-platform-module-overview) simulator to be the [HSM](https://azure.microsoft.com/blog/azure-iot-supports-new-security-hardware-to-strengthen-iot-security/) for the simulated device. Click **Allow Access**. It listens over a socket on ports 2321 and 2322. Do not close this command window; you will need to keep this simulator running until the end of this quickstart guide.
6263
6364
```cmd/sh
6465
.\azure-iot-sdk-python\c\provisioning_client\deps\utpm\tools\tpm_simulator\Simulator.exe
@@ -69,6 +70,13 @@ This article will demonstrate individual enrollments.
6970
7071
## Create a device enrollment entry
7172
73+
The Azure IoT Device Provisioning Service supports two types of enrollments:
74+
75+
- [Enrollment groups](concepts-service.md#enrollment-group): Used to enroll multiple related devices.
76+
- [Individual enrollments](concepts-service.md#individual-enrollment): Used to enroll a single device.
77+
78+
This article demonstrates individual enrollments.
79+
7280
1. Open the solution generated in the *cmake* folder named `azure_iot_sdks.sln`, and build it in Visual Studio.
7381
7482
1. Right-click the **tpm_device_provision** project and select **Set as Startup Project**. Run the solution. The output window displays the **_Endorsement key_** and the **_Registration ID_** needed for device enrollment. Note down these values.

articles/iot-dps/quick-create-simulated-device-x509-java.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,19 @@ ms.custom: mvc
1212
---
1313

1414
# Quickstart: Create and provision a simulated X.509 device using Java device SDK for IoT Hub Device Provisioning Service
15-
[!INCLUDE [iot-dps-selector-quick-create-simulated-device-x509](../../includes/iot-dps-selector-quick-create-simulated-device-x509.md)]
1615

17-
These steps show how to simulate an X.509 device on your development machine running Windows OS, and use a code sample to connect this simulated device with the Device Provisioning Service and your IoT hub.
16+
[!INCLUDE [iot-dps-selector-quick-create-simulated-device-x509](../../includes/iot-dps-selector-quick-create-simulated-device-x509.md)]
1817

19-
If you're unfamiliar with the process of autoprovisioning, be sure to also review [Auto-provisioning concepts](concepts-auto-provisioning.md). Also make sure you've completed the steps in [Set up IoT Hub Device Provisioning Service with the Azure portal](./quick-setup-auto-provision.md) before continuing.
18+
In this quickstart, you create a simulated X.509 device on a Windows computer. You use device sample Java code to connect this simulated device with your IoT hub using an individual enrollment with the Device Provisioning Service (DPS).
2019

21-
The Azure IoT Device Provisioning Service supports two types of enrollments:
22-
- [Enrollment groups](concepts-service.md#enrollment-group): Used to enroll multiple related devices.
23-
- [Individual Enrollments](concepts-service.md#individual-enrollment): Used to enroll a single device.
20+
## Prerequisites
2421

25-
This article will demonstrate individual enrollments.
22+
- Review of [Auto-provisioning concepts](concepts-auto-provisioning.md).
23+
- Completion of [Set up IoT Hub Device Provisioning Service with the Azure portal](./quick-setup-auto-provision.md).
24+
- An Azure account with an active subscription. [Create one for free](https://azure.microsoft.com/free/?ref=microsoft.com&utm_source=microsoft.com&utm_medium=docs&utm_campaign=visualstudio).
25+
- [Java SE Development Kit 8](https://aka.ms/azure-jdks).
26+
- [Maven](https://maven.apache.org/install.html).
27+
- [Git](https://git-scm.com/download/).
2628

2729
## Prepare the environment
2830

@@ -59,6 +61,12 @@ In this section you, will use a self-signed X.509 certificate, it is important t
5961
6062
You will use sample code from the [Azure IoT SDK for Java](https://github.com/Azure/azure-iot-sdk-java.git) to create the certificate to be used with the individual enrollment entry for the simulated device.
6163
64+
The Azure IoT Device Provisioning Service supports two types of enrollments:
65+
66+
- [Enrollment groups](concepts-service.md#enrollment-group): Used to enroll multiple related devices.
67+
- [Individual enrollments](concepts-service.md#individual-enrollment): Used to enroll a single device.
68+
69+
This article demonstrates individual enrollments.
6270
6371
1. Using the command prompt from previous steps, navigate to the `target` folder, then execute the .jar file created in the previous step.
6472

articles/iot-dps/quick-create-simulated-device-x509-node.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,19 @@ ms.custom: mvc
1212
---
1313

1414
# Quickstart: Create and provision an X.509 simulated device using Node.js device SDK for IoT Hub Device Provisioning Service
15-
[!INCLUDE [iot-dps-selector-quick-create-simulated-device-x509](../../includes/iot-dps-selector-quick-create-simulated-device-x509.md)]
1615

17-
These steps show how to create an enrollment entry in the Device Provisioning Service, simulate an X.509 device on your development machine, connect the simulated device with the Device Provisioning Service, and register the device on your IoT hub using the [Azure IoT Hub Node.js Device SDK](https://github.com/Azure/azure-iot-sdk-node).
16+
[!INCLUDE [iot-dps-selector-quick-create-simulated-device-x509](../../includes/iot-dps-selector-quick-create-simulated-device-x509.md)]
1817

19-
If you're unfamiliar with the process of autoprovisioning, be sure to also review [Auto-provisioning concepts](concepts-auto-provisioning.md). Also make sure you've completed the steps in [Set up IoT Hub Device Provisioning Service with the Azure portal](./quick-setup-auto-provision.md) before continuing.
18+
In this quickstart, you create a simulated X.509 device on a Windows computer. You use device sample Node.js code to connect this simulated device with your IoT hub using an individual enrollment with the Device Provisioning Service (DPS).
2019

21-
The Azure IoT Device Provisioning Service supports two types of enrollments:
22-
- [Enrollment groups](concepts-service.md#enrollment-group): Used to enroll multiple related devices.
23-
- [Individual Enrollments](concepts-service.md#individual-enrollment): Used to enroll a single device.
20+
## Prerequisites
2421

25-
This article will demonstrate individual enrollments.
22+
- Review of [Auto-provisioning concepts](concepts-auto-provisioning.md).
23+
- Completion of [Set up IoT Hub Device Provisioning Service with the Azure portal](./quick-setup-auto-provision.md).
24+
- An Azure account with an active subscription. [Create one for free](https://azure.microsoft.com/free/?ref=microsoft.com&utm_source=microsoft.com&utm_medium=docs&utm_campaign=visualstudio).
25+
- [Node.js v4.0+](https://nodejs.org).
26+
- [Git](https://git-scm.com/download/).
27+
- [OpenSSL](https://www.openssl.org/).
2628

2729
[!INCLUDE [IoT Device Provisioning Service basic](../../includes/iot-dps-basic.md)]
2830

@@ -49,6 +51,12 @@ In this section you, will use a self-signed X.509 certificate, it is important t
4951

5052
You will use sample code from the [Azure IoT SDK for Node.js](https://github.com/Azure/azure-iot-sdk-node.git) to create the certificate to be used with the individual enrollment entry for the simulated device.
5153

54+
The Azure IoT Device Provisioning Service supports two types of enrollments:
55+
56+
- [Enrollment groups](concepts-service.md#enrollment-group): Used to enroll multiple related devices.
57+
- [Individual enrollments](concepts-service.md#individual-enrollment): Used to enroll a single device.
58+
59+
This article demonstrates individual enrollments.
5260

5361
1. Open a command prompt. Clone the GitHub repo for the code samples:
5462

0 commit comments

Comments
 (0)