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-authenticate-downstream-device.md
+13-4Lines changed: 13 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: How to authenticate downstream devices or leaf devices to IoT Hub,
4
4
author: PatAltimore
5
5
6
6
ms.author: patricka
7
-
ms.date: 10/15/2020
7
+
ms.date: 04/29/2022
8
8
ms.topic: conceptual
9
9
ms.service: iot-edge
10
10
services: iot-edge
@@ -74,9 +74,12 @@ When you create the new device identity, provide the following information:
74
74
You also can use the [IoT extension for Azure CLI](https://github.com/Azure/azure-iot-cli-extension) to complete the same operation. The following example uses the [az iot hub device-identity](/cli/azure/iot/hub/device-identity) command to create a new IoT device with symmetric key authentication and assign a parent device:
az iot hub device-identity create -n {iothub name} -d {new device ID} --device-scope {deviceScope of parent device}
78
78
```
79
79
80
+
> [!TIP]
81
+
> You can list device properties including device scope using `az iot hub device-identity list --hub-name {iothub name}`.
82
+
80
83
Next, [Retrieve and modify the connection string](#retrieve-and-modify-connection-string) so that your device knows to connect via its gateway.
81
84
82
85
### X.509 self-signed authentication
@@ -129,9 +132,12 @@ For X.509 self-signed authentication, sometimes referred to as thumbprint authen
129
132
You also can use the [IoT extension for Azure CLI](https://github.com/Azure/azure-iot-cli-extension) to complete the same device creation operation. The following example uses the [az iot hub device-identity](/cli/azure/iot/hub/device-identity) command to create a new IoT device with X.509 self-signed authentication and assigns a parent device:
> You can list device properties including device scope using `az iot hub device-identity list --hub-name {iothub name}`.
140
+
135
141
Next, [Retrieve and modify the connection string](#retrieve-and-modify-connection-string) so that your device knows to connect via its gateway.
136
142
137
143
### X.509 CA-signed authentication
@@ -173,9 +179,12 @@ This section is based on the IoT Hub X.509 certificate tutorial series. See [Und
173
179
You also can use the [IoT extension for Azure CLI](https://github.com/Azure/azure-iot-cli-extension) to complete the same device creation operation. The following example uses the [az iot hub device-identity](/cli/azure/iot/hub/device-identity) command to create a new IoT device with X.509 CA signed authentication and assigns a parent device:
0 commit comments