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-edge/how-to-provision-devices-at-scale-linux-tpm.md
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@ The tasks are as follows:
50
50
51
51
# [Physical device](#tab/physical-device)
52
52
53
-
A physical Linux device to be the IoT Edge device.
53
+
A physical Linux device to be the IoT Edge device. This article assumes ownership of the TPM has been taken already and the endorsement key (EK) and storage root key (SRK) have been persisted. Follow the instructions relevant to your system to take ownership.
54
54
55
55
# [Virtual machine](#tab/virtual-machine)
56
56
@@ -156,6 +156,7 @@ In this section, you build a tool that you can use to retrieve the registration
156
156
make
157
157
sudo ./tpm_device_provision
158
158
```
159
+
159
160
1. The output window displays the device's **Registration ID** and the **Endorsement key**. Copy these values for use later when you create an individual enrollment for your device in the device provisioning service.
160
161
161
162
:::moniker-end
@@ -178,7 +179,7 @@ In this section, you use the TPM2 software tools to retrieve the endorsement key
printf"Gathering the registration information...\n\nRegistration Id:\n%s\n\nEndorsement Key:\n%s\n"$(sha256sum -b ek.pub | cut -d'' -f1| base32 -w0 | sed -e 's/[^[:alnum:]]//g'| base32 -d -i 2> /dev/null | sed -e 's/(.*)/L1/g')$(base64 -w0 ek.pub)
182
183
```
183
184
184
185
1. The output window displays the device's **Registration ID** and the **Endorsement key**. Copy these values for use later when you create an individual enrollment for your device in the device provisioning service.
@@ -195,7 +196,7 @@ In this section, you use the TPM2 software tools to retrieve the endorsement key
1. The output window displays the device's **Registration ID** and the **Endorsement key**. Copy these values foruse later when you create an individual enrollment for your devicein the device provisioning service.
@@ -211,6 +212,11 @@ In this section, you use the TPM2 software tools to retrieve the endorsement key
211
212
212
213
After you have your registration ID and endorsement key, you're ready to continue.
213
214
215
+
> [!NOTE]
216
+
> The Device Provisioning Service only uses the public part of the EK (EK_pub) to identify and enroll devices. It does not check the SRK or owner, so "clearing" the SRK to transfer ownership erases customer data, but the EK (and other vendor data) is preserved and the device will still be recognized by the Device Provisioning Service when it connects to provision.
217
+
>
218
+
> For an overview of the provisioning process with DPS see the documentation on [TPM attestation](../iot-dps/concepts-tpm-attestation.md).
219
+
214
220
<!-- Create an enrollment for your device using TPM provisioning information H2 and content -->
0 commit comments