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-dps/how-to-legacy-device-symm-key.md
+12-9Lines changed: 12 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,15 +84,15 @@ An enrollment group that uses [symmetric key attestation](concepts-symmetric-key
84
84
85
85
::: zone pivot="programming-language-ansi-c"
86
86
87
-
In this section, you'll prepare a development environment that's used to build the [Azure IoT C SDK](https://github.com/Azure/azure-iot-sdk-c). The sample code attempts to provision the device during the device's boot sequence.
87
+
In this section, you'll prepare a development environment that's used to build the [Azure IoT Device SDK for C](https://github.com/Azure/azure-iot-sdk-c). The sample code attempts to provision the device during the device's boot sequence.
88
88
89
89
1. Open a web browser, and go to the [Release page of the Azure IoT C SDK](https://github.com/Azure/azure-iot-sdk-c/releases/latest).
90
90
91
91
1. Select the **Tags** tab at the top of the page.
92
92
93
93
1. Copy the tag name for the latest release of the Azure IoT C SDK.
94
94
95
-
1. In a Windows command prompt, run the following commands to clone the latest release of the [Azure IoT C SDK](https://github.com/Azure/azure-iot-sdk-c) GitHub repository (replace `<release-tag>` with the tag you copied in the previous step).
95
+
1. In a Windows command prompt, run the following commands to clone the latest release of the [Azure IoT Device SDK for C](https://github.com/Azure/azure-iot-sdk-c) GitHub repository. Replace `<release-tag>` with the tag you copied in the previous step, for example: `lts_01_2023`.
>The samples used in this tutorial are in the **v2** branch of the azure-iot-sdk-python repository. For information about updating V2 code to use a V3 release of the Python SDK, see [Azure IoT Device SDK for Python migration guide](https://github.com/Azure/azure-iot-sdk-python/blob/main/migration_guide_provisioning.md).
175
+
173
176
::: zone-end
174
177
175
178
::: zone pivot="programming-language-java"
176
179
177
180
1. Open a Git CMD or Git Bash command-line environment.
178
181
179
-
2. Clone the [Azure IoT SDK for Java](https://github.com/Azure/azure-iot-sdk-java.git) GitHub repository using the following command:
182
+
2. Clone the [Azure IoT SDK for Java](https://github.com/Azure/azure-iot-sdk-java) GitHub repository using the following command:
@@ -403,7 +406,7 @@ To update and run the provisioning sample with your device information:
403
406
3. Open a command prompt and go to the *SymmetricKeySample* in the cloned sdk repository:
404
407
405
408
```cmd
406
-
cd .\azure-iot-sdk-csharp\provisioning\device\samples\How To\SymmetricKeySample
409
+
cd .\azure-iot-sdk-csharp\provisioning\device\samples\how to guides\SymmetricKeySample
407
410
```
408
411
409
412
4. In the *SymmetricKeySample* folder, open *Parameters.cs* in a text editor. This file shows the parameters that are supported by the sample. Only the first three required parameters will be used in this article when running the sample. Review the code in this file. No changes are needed.
@@ -431,7 +434,7 @@ To update and run the provisioning sample with your device information:
431
434
7. You should see something similar to the following output. A "TestMessage" string is sent to the hub as a test message.
432
435
433
436
```output
434
-
D:\azure-iot-sdk-csharp\provisioning\device\samples\How To\SymmetricKeySample>dotnet run --s 0ne00000A0A --i sn-007-888-abc-mac-a1-b2-c3-d4-e5-f6 --p sbDDeEzRuEuGKag+kQKV+T1QGakRtHpsERLP0yPjwR93TrpEgEh/Y07CXstfha6dhIPWvdD1nRxK5T0KGKA+nQ==
437
+
D:\azure-iot-sdk-csharp\provisioning\device\samples\how to guides\SymmetricKeySample>dotnet run --i 0ne00000A0A --r sn-007-888-abc-mac-a1-b2-c3-d4-e5-f6 --p sbDDeEzRuEuGKag+kQKV+T1QGakRtHpsERLP0yPjwR93TrpEgEh/Y07CXstfha6dhIPWvdD1nRxK5T0KGKA+nQ==
435
438
436
439
Initializing the device provisioning client...
437
440
Initialized for registration Id sn-007-888-abc-mac-a1-b2-c3-d4-e5-f6.
@@ -684,7 +687,7 @@ To update and run the provisioning sample with your device information:
684
687
5. Open a command prompt for building. Go to the provisioning sample project folder of the Java SDK repository.
685
688
686
689
```cmd
687
-
cd azure-iot-sdk-java\provisioning\provisioning-samples\provisioning-symmetrickey-individual-sample
690
+
cd azure-iot-sdk-java\provisioning\provisioning-device-client-samples\provisioning-symmetrickey-individual-sample
Copy file name to clipboardExpand all lines: articles/iot-dps/how-to-provision-multitenant.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -196,7 +196,7 @@ For each VM:
196
196
197
197
2. Find and copy the tag name for the [latest release](https://github.com/Azure/azure-iot-sdk-c/releases/latest) of the SDK.
198
198
199
-
3. Clone the [Azure IoT C SDK](https://github.com/Azure/azure-iot-sdk-c) on both VMs. Use the tag you found in the previous step as the value for the `-b` parameter:
199
+
3. Clone the [Azure IoT Device SDK for C](https://github.com/Azure/azure-iot-sdk-c) on both VMs. Use the tag you found in the previous step as the value for the `-b` parameter, for example: `lts_01_2023`.
Copy file name to clipboardExpand all lines: articles/iot-dps/quick-create-simulated-device-symm-key.md
+11-8Lines changed: 11 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,7 +84,7 @@ In this section, you prepare a development environment that's used to build the
84
84
85
85
4. Copy the tag name for the latest release of the Azure IoT C SDK.
86
86
87
-
5. Open a command prompt or Git Bash shell. Run the following commands to clone the latest release of the [Azure IoT C SDK](https://github.com/Azure/azure-iot-sdk-c) GitHub repository(replace `<release-tag>` with the tag you copied in the previous step).
87
+
5. Open a command prompt or Git Bash shell. Run the following commands to clone the latest release of the [Azure IoT Device SDK for C](https://github.com/Azure/azure-iot-sdk-c) GitHub repository. Replace `<release-tag>` with the tag you copied in the previous step, for example: `lts_01_2023`.
>The samples used in this tutorial are in the **v2** branch of the azure-iot-sdk-python repository. For information about updating V2 code to use a V3 release of the Python SDK, see [Azure IoT Device SDK for Python migration guide](https://github.com/Azure/azure-iot-sdk-python/blob/main/migration_guide_provisioning.md).
167
+
165
168
::: zone-end
166
169
167
170
::: zone pivot="programming-language-java"
168
171
169
172
1. Open a Git CMD or Git Bash command-line environment.
170
173
171
-
2. Clone the [Azure IoT SDK for Java](https://github.com/Azure/azure-iot-sdk-java.git) GitHub repository using the following command:
174
+
2. Clone the [Azure IoT SDK for Java](https://github.com/Azure/azure-iot-sdk-java) GitHub repository using the following command:
@@ -321,7 +324,7 @@ To update and run the provisioning sample with your device information:
321
324
3. Open a command prompt and go to the *SymmetricKeySample* in the cloned sdk repository:
322
325
323
326
```cmd
324
-
cd '.\azure-iot-sdk-csharp\provisioning\device\samples\How To\SymmetricKeySample\'
327
+
cd '.\azure-iot-sdk-csharp\provisioning\device\samples\how to guides\SymmetricKeySample\'
325
328
```
326
329
327
330
4. In the *SymmetricKeySample* folder, open *Parameters.cs* in a text editor. This file shows the parameters that are supported by the sample. Only the first three required parameters are used in this article when running the sample. Review the code in this file. No changes are needed.
@@ -349,7 +352,7 @@ To update and run the provisioning sample with your device information:
349
352
7. You should now see something similar to the following output. A "TestMessage" string is sent to the hub as a test message.
350
353
351
354
```output
352
-
D:\azure-iot-sdk-csharp\provisioning\device\samples\How To\SymmetricKeySample>dotnet run --i 0ne00000A0A --r symm-key-csharp-device-01 --p sbDDeEzRuEuGKag+kQKV+T1QGakRtHpsERLP0yPjwR93TrpEgEh/Y07CXstfha6dhIPWvdD1nRxK5T0KGKA+nQ==
355
+
D:\azure-iot-sdk-csharp\provisioning\device\samples\how to guides\SymmetricKeySample>dotnet run --i 0ne00000A0A --r symm-key-csharp-device-01 --p sbDDeEzRuEuGKag+kQKV+T1QGakRtHpsERLP0yPjwR93TrpEgEh/Y07CXstfha6dhIPWvdD1nRxK5T0KGKA+nQ==
353
356
354
357
Initializing the device provisioning client...
355
358
Initialized for registration Id symm-key-csharp-device-01.
@@ -600,7 +603,7 @@ To update and run the provisioning sample with your device information:
600
603
5. Open a command prompt for building. Go to the provisioning sample project folder of the Java SDK repository.
601
604
602
605
```cmd
603
-
cd azure-iot-sdk-java\provisioning\provisioning-samples\provisioning-symmetrickey-individual-sample
606
+
cd azure-iot-sdk-java\provisioning\provisioning-device-client-samples\provisioning-symmetrickey-individual-sample
Copy file name to clipboardExpand all lines: articles/iot-dps/quick-create-simulated-device-tpm.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,7 +98,7 @@ In this section, you'll prepare a development environment used to build the [Azu
98
98
99
99
4. Copy the tag name for the latest release of the Azure IoT C SDK.
100
100
101
-
5. Open a command prompt or Git Bash shell. Run the following commands to clone the latest release of the [Azure IoT C SDK](https://github.com/Azure/azure-iot-sdk-c) GitHub repository. (replace`<release-tag>` with the tag you copied in the previous step).
101
+
5. Open a command prompt or Git Bash shell. Run the following commands to clone the latest release of the [Azure IoT Device SDKforC](https://github.com/Azure/azure-iot-sdk-c) GitHub repository. Replace `<release-tag>` with the tag you copiedin the previous step, for example: `lts_01_2023`.
@@ -387,7 +387,7 @@ In this section, you'll build and execute a sample that reads the endorsement ke
387
387
1. In a command prompt, change directories to the project directory for the TPM device provisioning sample.
388
388
389
389
```cmd
390
-
cd '.\azure-iot-sdk-csharp\provisioning\device\samples\How To\TpmSample\'
390
+
cd '.\azure-iot-sdk-csharp\provisioning\device\samples\how to guides\TpmSample\'
391
391
```
392
392
393
393
2. Type the following command to build and run the TPM device provisioning sample. Copy the endorsement key returned from your TPM 2.0 hardware security module to use later when enrolling your device.
@@ -500,7 +500,7 @@ In this section, you'll configure sample code to use the [Advanced Message Queui
500
500
3. In a command prompt, change directories to the project directory for the TPM device provisioning sample.
501
501
502
502
```cmd
503
-
cd '.\azure-iot-sdk-csharp\provisioning\device\samples\How To\TpmSample\'
503
+
cd '.\azure-iot-sdk-csharp\provisioning\device\samples\how to guides\TpmSample\'
504
504
```
505
505
506
506
4. Run the following command to register your device. Replace `<IdScope>` with the value for the DPS you copied and `<RegistrationId>` with the value you used when creating the device enrollment.
Copy file name to clipboardExpand all lines: articles/iot-dps/quick-create-simulated-device-x509.md
+11-8Lines changed: 11 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -101,7 +101,7 @@ In this section, you'll prepare a development environment that's used to build t
101
101
102
102
3. Copy the tag name for the latest release of the Azure IoT C SDK.
103
103
104
-
4. In your Windows command prompt, run the following commands to clone the latest release of the [Azure IoT C SDK](https://github.com/Azure/azure-iot-sdk-c) GitHub repository. Replace `<release-tag>` with the tag you copied in the previous step.
104
+
4. In your Windows command prompt, run the following commands to clone the latest release of the [Azure IoT Device SDK for C](https://github.com/Azure/azure-iot-sdk-c) GitHub repository. Replace `<release-tag>` with the tag you copied in the previous step, for example: `lts_01_2023`.
In your Windows command prompt, clone the [Azure IoT Samples for Node.js](https://github.com/Azure/azure-iot-sdk-node.git) GitHub repository using the following command:
162
+
In your Windows command prompt, clone the [Azure IoT SDK for Node.js](https://github.com/Azure/azure-iot-sdk-node) GitHub repository using the following command:
In your Windows command prompt, clone the [Azure IoT Samples for Python](https://github.com/Azure/azure-iot-sdk-python.git) GitHub repository using the following command:
172
+
In your Windows command prompt, clone the [Azure IoT Device SDK for Python](https://github.com/Azure/azure-iot-sdk-python/tree/v2) GitHub repository using the following command:
>The samples used in this tutorial are in the **v2** branch of the azure-iot-sdk-python repository. For information about updating V2 code to use a V3 release of the Python SDK, see [Azure IoT Device SDK for Python migration guide](https://github.com/Azure/azure-iot-sdk-python/blob/main/migration_guide_provisioning.md).
180
+
178
181
::: zone-end
179
182
180
183
::: zone pivot="programming-language-java"
181
184
182
-
1. In your Windows command prompt, clone the [Azure IoT Samples for Java](https://github.com/Azure/azure-iot-sdk-java.git) GitHub repository using the following command:
185
+
1. In your Windows command prompt, clone the [Azure IoT Samples for Java](https://github.com/Azure/azure-iot-sdk-java) GitHub repository using the following command:
@@ -568,7 +571,7 @@ In this section, you'll use your Windows command prompt.
568
571
569
572
:::image type="content" source="./media/quick-create-simulated-device-x509/copy-id-scope.png" alt-text="Screenshot of the ID scope on Azure portal.":::
570
573
571
-
3. In your Windows command prompt, change to the X509Sample directory. This directory is located in the *.\azure-iot-sdk-csharp\provisioning\device\samples\Getting Started\X509Sample* directory off the directory where you cloned the samples on your computer.
574
+
3. In your Windows command prompt, change to the X509Sample directory. This directory is located in the *.\azure-iot-sdk-csharp\provisioning\device\samples\getting started\X509Sample* directory off the directory where you cloned the samples on your computer.
572
575
573
576
4. Enter the following command to build and run the X.509 device provisioning sample (replace the `<IDScope>` value with the ID Scope that you copied in the previous section. The certificate file will default to *./certificate.pfx* and prompt for the .pfx password.
574
577
@@ -769,12 +772,12 @@ In this section, you use both your Windows command prompt and your Git Bash prom
769
772
1. In your Windows command prompt, navigate to the sample project folder. The path shown is relative to the location where you cloned the SDK
770
773
771
774
```cmd
772
-
cd .\azure-iot-sdk-java\provisioning\provisioning-samples\provisioning-X509-sample
775
+
cd .\azure-iot-sdk-java\provisioning\provisioning-device-client-samples\provisioning-X509-sample
773
776
```
774
777
775
778
1. Enter the provisioning service and X.509 identity information in the sample code. This information is used during provisioning, for attestation of the simulated device, prior to device registration.
776
779
777
-
1. Open the file `.\src\main\java\samples\com/microsoft\azure\sdk\iot\ProvisioningX509Sample.java` in your favorite editor.
780
+
1. Open the file `.\src\main\java\samples\com\microsoft\azure\sdk\iot\ProvisioningX509Sample.java` in your favorite editor.
778
781
779
782
1. Update the following values with the **ID Scope** and **Provisioning Service Global Endpoint** that you copied previously.
1. From the *azure-iot-sdk-java\provisioning\provisioning-samples\service-enrollment-sample* folder in your command prompt, run the following command to build the sample:
373
+
1. From the *azure-iot-sdk-java\provisioning\provisioning-service-client-samples\service-enrollment-sample* folder in your command prompt, run the following command to build the sample:
Copy file name to clipboardExpand all lines: articles/iot-dps/quick-enroll-device-x509.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -289,7 +289,7 @@ This section shows you how to create a Node.js script that adds an enrollment gr
289
289
1. From the location where you downloaded the repo, go to the sample folder:
290
290
291
291
```cmd\sh
292
-
cd azure-iot-sdk-java\provisioning\provisioning-samples\service-enrollment-group-sample
292
+
cd azure-iot-sdk-java\provisioning\provisioning-service-client-samples\service-enrollment-group-sample
293
293
```
294
294
295
295
1. Open the file *_/src/main/java/samples/com/microsoft/azure/sdk/iot/ServiceEnrollmentGroupSample.java_*in an editor of your choice.
@@ -369,7 +369,7 @@ This section shows you how to create a Node.js script that adds an enrollment gr
369
369
370
370
:::zone pivot="programming-language-java"
371
371
372
-
1. From the *azure-iot-sdk-java\provisioning\provisioning-samples\service-enrollment-group-sample* folder in your command prompt, run the following command to build the sample:
372
+
1. From the *azure-iot-sdk-java\provisioning\provisioning-service-client-samples\service-enrollment-group-sample* folder in your command prompt, run the following command to build the sample:
0 commit comments