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/about-iot-dps.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
@@ -11,7 +11,7 @@ manager: eliotgra
11
11
ms.custom: [amqp, mqtt]
12
12
---
13
13
14
-
# Provisioning devices with Azure IoT Hub Device Provisioning Service
14
+
# What is Azure IoT Hub Device Provisioning Service?
15
15
Microsoft Azure provides a rich set of integrated public cloud services for all your IoT solution needs. The IoT Hub Device Provisioning Service (DPS) is a helper service for IoT Hub that enables zero-touch, just-in-time provisioning to the right IoT hub without requiring human intervention. DPS enables the provisioning of millions of devices in a secure and scalable manner.
Copy file name to clipboardExpand all lines: articles/iot-dps/how-to-legacy-device-symm-key.md
+22-13Lines changed: 22 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,26 +25,26 @@ This article is oriented toward a Windows-based workstation. However, you can pe
25
25
> [!NOTE]
26
26
> The sample used in this article is written in C. There is also a [C# device provisioning symmetric key sample](https://github.com/Azure-Samples/azure-iot-samples-csharp/tree/master/provisioning/Samples/device/SymmetricKeySample) available. To use this sample, download or clone the [azure-iot-samples-csharp](https://github.com/Azure-Samples/azure-iot-samples-csharp) repository and follow the in-line instructions in the sample code. You can follow the instructions in this article to create a symmetric key enrollment group using the portal and to find the ID Scope and enrollment group primary and secondary keys needed to run the sample. You can also create individual enrollments using the sample.
27
27
28
-
## Overview
28
+
## Prerequisites
29
29
30
-
A unique registration ID will be defined for each device based on information that identifies that device. For example, the MAC address or a serial number.
30
+
* Completion of the [Set up IoT Hub Device Provisioning Service with the Azure portal](./quick-setup-auto-provision.md) quickstart.
31
31
32
-
An enrollment group that uses [symmetric key attestation](concepts-symmetric-key-attestation.md) will be created with the Device Provisioning Service. The enrollment group will include a group master key. That master key will be used to hash each unique registration ID to produce a unique device key for each device. The device will use that derived device key with its unique registration ID to attest with the Device Provisioning Service and be assigned to an IoT hub.
32
+
The following prerequisites are for a Windows development environment. For Linux or macOS, see the appropriate section in [Prepare your development environment](https://github.com/Azure/azure-iot-sdk-c/blob/master/doc/devbox_setup.md) in the SDK documentation.
33
33
34
-
The device code demonstrated in this article will follow the same pattern as the [Quickstart: Provision a simulated device with symmetric keys](quick-create-simulated-device-symm-key.md). The code will simulate a device using a sample from the [Azure IoT C SDK](https://github.com/Azure/azure-iot-sdk-c). The simulated device will attest with an enrollment group instead of an individual enrollment as demonstrated in the quickstart.
34
+
*[Visual Studio](https://visualstudio.microsoft.com/vs/) 2019 with the ['Desktop development with C++'](/cpp/ide/using-the-visual-studio-ide-for-cpp-desktop-development) workload enabled. Visual Studio 2015 and Visual Studio 2017 are also supported.
* Latest version of [Git](https://git-scm.com/download/) installed.
37
37
38
+
## Overview
38
39
39
-
## Prerequisites
40
+
A unique registration ID will be defined for each device based on information that identifies that device. For example, the MAC address or a serial number.
40
41
41
-
* Completion of the [Set up IoT Hub Device Provisioning Service with the Azure portal](./quick-setup-auto-provision.md) quickstart.
42
+
An enrollment group that uses [symmetric key attestation](concepts-symmetric-key-attestation.md) will be created with the Device Provisioning Service. The enrollment group will include a group master key. That master key will be used to hash each unique registration ID to produce a unique device key for each device. The device will use that derived device key with its unique registration ID to attest with the Device Provisioning Service and be assigned to an IoT hub.
42
43
43
-
The following prerequisites are for a Windows development environment. For Linux or macOS, see the appropriate section in [Prepare your development environment](https://github.com/Azure/azure-iot-sdk-c/blob/master/doc/devbox_setup.md)in the SDK documentation.
44
+
The device code demonstrated in this article will follow the same pattern as the [Quickstart: Provision a simulated device with symmetric keys](quick-create-simulated-device-symm-key.md). The code will simulate a device using a sample from the [Azure IoT C SDK](https://github.com/Azure/azure-iot-sdk-c). The simulated device will attest with an enrollment group instead of an individual enrollment as demonstrated in the quickstart.
44
45
45
-
*[Visual Studio](https://visualstudio.microsoft.com/vs/) 2019 with the ['Desktop development with C++'](/cpp/ide/using-the-visual-studio-ide-for-cpp-desktop-development) workload enabled. Visual Studio 2015 and Visual Studio 2017 are also supported.
Copy file name to clipboardExpand all lines: articles/iot-dps/how-to-provision-multitenant.md
+11-7Lines changed: 11 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,11 +22,12 @@ It is common to combine these two scenarios. For example, a multitenant IoT solu
22
22
23
23
This article uses a simulated device sample from the [Azure IoT C SDK](https://github.com/Azure/azure-iot-sdk-c) to demonstrate how to provision devices in a multitenant scenario across regions. You will perform the following steps in this article:
24
24
25
-
* Use the Azure CLI to create two regional IoT hubs (**West US** and **East US**)
26
-
* Create a multitenant enrollment
27
-
* Use the Azure CLI to create two regional Linux VMs to act as devices in the same regions (**West US** and **East US**)
28
-
* Set up the development environment for the Azure IoT C SDK on both Linux VMs
29
-
* Simulate the devices to see that they are provisioned for the same tenant in the closest region.
25
+
> [!div class="checklist"]
26
+
> * Use the Azure CLI to create two regional IoT hubs (**West US** and **East US**)
27
+
> * Create a multitenant enrollment
28
+
> * Use the Azure CLI to create two regional Linux VMs to act as devices in the same regions (**West US** and **East US**)
29
+
> * Set up the development environment for the Azure IoT C SDK on both Linux VMs
30
+
> * Simulate the devices to see that they are provisioned for the same tenant in the closest region.
0 commit comments