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
+10-4Lines changed: 10 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,11 +74,11 @@ 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:
75
75
76
76
```azurecli
77
-
az iot hub device-identity create -n {iothub name} -d {new device ID} --device-scope {deviceScope of parent device}.
77
+
az iot hub device-identity create -n {iothub name} -d {new device ID} --device-scope {deviceScope of parent device}
78
78
```
79
79
80
80
> [!TIP]
81
-
> You can list device properties including device scope using `az iot hub device-identity list --hub-name {iothub name}`
81
+
> You can list device properties including device scope using `az iot hub device-identity list --hub-name {iothub name}`.
82
82
83
83
Next, [Retrieve and modify the connection string](#retrieve-and-modify-connection-string) so that your device knows to connect via its gateway.
84
84
@@ -132,9 +132,12 @@ For X.509 self-signed authentication, sometimes referred to as thumbprint authen
132
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
+
138
141
Next, [Retrieve and modify the connection string](#retrieve-and-modify-connection-string) so that your device knows to connect via its gateway.
139
142
140
143
### X.509 CA-signed authentication
@@ -176,9 +179,12 @@ This section is based on the IoT Hub X.509 certificate tutorial series. See [Und
176
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