Skip to content

Commit 6d11b87

Browse files
committed
enrollments ui - review 1
1 parent edf97c0 commit 6d11b87

File tree

5 files changed

+38
-36
lines changed

5 files changed

+38
-36
lines changed

articles/iot-dps/how-to-manage-enrollments.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ For a walkthrough of how to create and use individual enrollments with X.509 cer
7575
To create a X.509 certificate individual enrollment:
7676

7777
<!-- INCLUDE -->
78-
[!INCLUDE [iot-dps-individual-enrollment-tpm.md](../../includes/iot-dps-individual-enrollment-tpm.md)]
78+
[!INCLUDE [iot-dps-individual-enrollment-x509.md](../../includes/iot-dps-individual-enrollment-x509.md)]
7979

8080
# [TPM](#tab/tpm)
8181

@@ -84,7 +84,7 @@ For a walkthrough of how to create and use individual enrollments using TPM atte
8484
To create a TPM individual enrollment:
8585

8686
<!-- INCLUDE -->
87-
[!INCLUDE [iot-dps-individual-enrollment-x509.md](../../includes/iot-dps-individual-enrollment-x509.md)]
87+
[!INCLUDE [iot-dps-individual-enrollment-tpm.md](../../includes/iot-dps-individual-enrollment-tpm.md)]
8888

8989
---
9090

articles/iot-dps/how-to-provision-multitenant.md

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -87,29 +87,25 @@ For simplicity, this tutorial uses [Symmetric key attestation](concepts-symmetri
8787
8888
1. Select **Next: IoT hubs**.
8989
90-
1. On the **IoT hubs** tab of the **Add enrollment group** page, select **Add link to IoT hub** in the **Target IoT hubs** section.
90+
1. Use the following steps to add your two IoT hubs to the enrollment group:
9191
92-
1. On the **Add link to IoT hub** page, select the IoT hub that you created in the *eastus* region and assign it the *iothubowner* access.
92+
1. On the **IoT hubs** tab of the **Add enrollment group** page, select **Add link to IoT hub** in the **Target IoT hubs** section.
9393
94-
1. Select **Save**.
94+
1. On the **Add link to IoT hub** page, select the IoT hub that you created in the *eastus* region and assign it the *iothubowner* access.
9595
96-
1. Select **Add link to IoT hub** again, and follow the same steps to add the IoT hub that you created in the *westus2* region.
96+
1. Select **Save**.
9797
98-
1. In the **Target IoT hubs** dropdown menu, select both IoT hubs.
98+
1. Select **Add link to IoT hub** again, and follow the same steps to add the IoT hub that you created in the *westus2* region.
99+
100+
1. In the **Target IoT hubs** dropdown menu, select both IoT hubs.
99101
100102
1. For the **Allocation policy**, select **Lowest latency**.
101103
102104
1. Select **Review + create**.
103105
104106
1. On the **Review + create** tab, verify all of your values then select **Create**.
105107
106-
1. Repeat Steps 5 through 7 for the second IoT hub that you created for the *westgus* location.
107-
108-
1. Select the two IoT Hubs you created in the **Select the IoT hubs this group can be assigned to** drop down.
109-
110-
1. Select **Save**
111-
112-
1. Select *contoso-us-devices* from the enrollment groups list.
108+
1. Once your enrollment group is creted, select its name *contoso-us-devices* from the enrollment groups list.
113109
114110
1. Copy the *Primary key*. This key will be used later to generate unique device keys for both simulated devices.
115111

articles/iot-dps/how-to-reprovision.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,23 @@ For more a more detailed overview of reprovisioning scenarios, see [IoT Hub Devi
1818

1919
## Set the reprovision policy
2020

21+
The following steps configure the reprovision policy for an individual enrollment or enrollment group:
22+
2123
1. Sign in to the [Azure portal](https://portal.azure.com) and navigate to your Device Provisioning Service instance.
2224

23-
2. Select **Manage enrollments**, and then select the enrollment group or individual enrollment that you want to configure for reprovisioning.
25+
2. Select **Manage enrollments**, and then select either the **Enrollment groups** or **Individual enrollments** tabs.
26+
27+
3. Select the name of the enrollment group or individual enrollment that you want to configure for reprovisioning.
2428

25-
3. Use the dropdown menu under **Reprovision policy** to choose one of the following reprovisioning policies:
29+
4. Use the dropdown menu under **Reprovision policy** to choose one of the following reprovisioning policies:
2630

2731
* **Never reprovision device**.
2832

2933
* **Reprovision device and reset to initial state**: This policy takes action when devices associated with the enrollment entry submit a new provisioning request. Depending on the enrollment entry configuration, the device may be reassigned to another IoT hub. If the device is changing IoT hubs, the device registration with the initial IoT hub will be removed. The initial configuration data that the provisioning service instance received when the device was provisioned is provided to the new IoT hub. During migration, the device's status will be reported as **Assigning**.
3034

3135
* **Reprovision device and migrate current state**: This policy takes action when devices associated with the enrollment entry submit a new provisioning request. Depending on the enrollment entry configuration, the device may be reassigned to another IoT hub. If the device is changing IoT hubs, the device registration with the initial IoT hub will be removed. All device state information from that initial IoT hub will be migrated over to the new IoT hub. During migration, the device's status will be reported as **Assigning**
3236

33-
4. Select **Save** to enable the reprovisioning of the device based on your changes.
37+
5. Select **Save** to enable the reprovisioning of the device based on your changes.
3438

3539
## Configure the enrollment allocation policy
3640

@@ -40,11 +44,13 @@ The following steps configure the allocation policy for a device's enrollment:
4044

4145
1. Sign in to the [Azure portal](https://portal.azure.com) and navigate to your Device Provisioning Service instance.
4246

43-
2. Select **Manage enrollments**, and then select the enrollment group or individual enrollment that you want to configure for reprovisioning.
47+
2. Select **Manage enrollments**, and then select either the **Enrollment groups** or **Individual enrollments** tabs.
48+
49+
3. Select the name of the enrollment group or individual enrollment that you want to configure for reprovisioning.
4450

45-
3. On the **Enrollment details** page, select the **IoT hubs** tab.
51+
4. On the **Enrollment details** page, select the **IoT hubs** tab.
4652

47-
4. Select one of the following allocation policies:
53+
5. Select one of the following allocation policies:
4854

4955
* **Static**: This policy requires a desired IoT hub be listed in the enrollment entry for a device to be provisioned. This policy allows you to designate a single IoT hub that you want to assign devices to.
5056

@@ -54,7 +60,7 @@ The following steps configure the allocation policy for a device's enrollment:
5460

5561
* **Custom (use Azure Function)**: This policy uses a custom webhook hosted in Azure Functions to assign devices to one or more IoT hubs. Custom allocation policies give you more control over how devices are assigned to your IoT hubs. To learn more, see [Understand custom allocation policies](concepts-custom-allocation.md).
5662

57-
5. Under **Target IoT hubs**, select the linked IoT hubs that you want included in your allocation policy. Optionally, add a new linked Iot hub using the **Add link to IoT hub** button.
63+
6. Under **Target IoT hubs**, select the linked IoT hubs that you want included in your allocation policy. Optionally, add a new linked Iot hub using the **Add link to IoT hub** button.
5864

5965
* With the **Static configuration** allocation policy, select the IoT hub you want devices assigned to.
6066

@@ -64,7 +70,7 @@ The following steps configure the allocation policy for a device's enrollment:
6470

6571
* With the **Custom** allocation policy, select the IoT hubs you want evaluated for assignment by your custom allocation webhook.
6672

67-
6. Select **Save**.
73+
7. Select **Save**.
6874

6975
## Send a provisioning request from the device
7076

articles/iot-dps/how-to-revoke-device-access-portal.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -91,18 +91,18 @@ To disallow an individual device in an enrollment group, follow these steps:
9191

9292
- If you have the device certificate, provide the following values on the **Add enrollment** page:
9393

94-
| Field | Description |
95-
| :---- | :---------- |
96-
| **Attestation mechanism** | Select **X.509 client certificates** |
97-
| **Primary certificate file** | Upload the device certificate. For the certificate, use the signed end-entity certificate installed on the device. The device uses the signed end-entity certificate for authentication. |
94+
| Field | Description |
95+
| :---- | :---------- |
96+
| **Attestation mechanism** | Select **X.509 client certificates** |
97+
| **Primary certificate file** | Upload the device certificate. For the certificate, use the signed end-entity certificate installed on the device. The device uses the signed end-entity certificate for authentication. |
9898

9999
- If you don't have the device certificate, provide the following values on the **Add enrollment** page:
100100

101-
| Field | Description |
102-
| :---- | :---------- |
103-
| **Attestation mechanism** | Select **Symmetric key** |
104-
| **Generate symmetric keys automatically** |: Make sure this checkbox is selected. The keys don't matter for this scenario. |
105-
| **Registration ID** | If the device has already been provisioned, use its IoT Hub device ID. You can find this in the registration records of the enrollment group, or in the IoT hub that the device was provisioned to. If the device has not yet been provisioned, enter the device certificate CN. (In this latter case, you don't need the device certificate, but you will need to know the CN.) |
101+
| Field | Description |
102+
| :---- | :---------- |
103+
| **Attestation mechanism** | Select **Symmetric key** |
104+
| **Generate symmetric keys automatically** |: Make sure this checkbox is selected. The keys don't matter for this scenario. |
105+
| **Registration ID** | If the device has already been provisioned, use its IoT Hub device ID. You can find this in the registration records of the enrollment group, or in the IoT hub that the device was provisioned to. If the device has not yet been provisioned, enter the device certificate CN. (In this latter case, you don't need the device certificate, but you will need to know the CN.) |
106106

107107
1. Scroll to the bottom of the **Add enrollment** page and uncheck the **Enable this enrollment** checkbox.
108108

articles/iot-dps/how-to-roll-certificates.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Updating enrollment entries for rolled certificates is accomplished on the **Man
6868

6969
:::image type="content" source="./media/how-to-roll-certificates/manage-enrollments-portal.png" alt-text="Screenshot that shows the Manage enrollments page in the Azure portal.":::
7070

71-
1. Select the **Individual enrollments** tab, and select the registration ID entry in the list.
71+
1. Select the **Individual enrollments** tab, and select the registration ID entry from the list.
7272

7373
1. Check the **Remove or replace primary/secondary certificate** checkboxes if you want to delete an existing certificate. Select the file folder icon to browse for and upload the new certificates.
7474

@@ -122,9 +122,9 @@ If you are rolling certificates to handle certificate expirations, you should us
122122

123123
1. Select **Manage enrollments** from the **Settings** section of the navigation menu for your Device Provisioning Service instance, and select the **Enrollment groups** tab.
124124

125-
1. Select the group name in the list.
125+
1. Select the group name grom the list.
126126

127-
2. Check the **Remove or replace primary/secondary certificate** checkboxes if you want to delete an existing certificate. Select the file folder icon to browse for and upload the new certificates.
127+
1. Check the **Remove or replace primary/secondary certificate** checkboxes if you want to delete an existing certificate. Select the file folder icon to browse for and upload the new certificates.
128128

129129
If any of your certificates were compromised, you should remove them as soon as possible.
130130

@@ -133,8 +133,8 @@ If you are rolling certificates to handle certificate expirations, you should us
133133
Each intermediate certificate should be signed by a verified root CA certificate that has already been added to the provisioning service. For more information, see [X.509 certificates](concepts-x509-attestation.md#x509-certificates).
134134

135135
:::image type="content" source="./media/how-to-roll-certificates/enrollment-group-delete-intermediate-cert.png" alt-text="Screenshot that shows replacing an intermediate certificate for an enrollment group.":::
136-
137-
3. If you removed a compromised certificate from the provisioning service, the certificate can still be used to make device connections to the IoT hub as long as device registrations for it exists there. You can address this two ways:
136+
137+
1. If you removed a compromised certificate from the provisioning service, the certificate can still be used to make device connections to the IoT hub as long as device registrations for it exists there. You can address this two ways:
138138

139139
The first way would be to manually navigate to your IoT hub and immediately remove the device registration associated with the compromised certificate. Then when your devices provision again with updated certificates, a new device registration will be created for each one.
140140

0 commit comments

Comments
 (0)