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-single-device-linux-symmetric.md
+10-9Lines changed: 10 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ ms.author: sethm
7
7
ms.service: azure-iot-edge
8
8
services: iot-edge
9
9
ms.topic: how-to
10
-
ms.date: 04/29/2025
10
+
ms.date: 02/19/2026
11
11
ms.custom:
12
12
- linux-related-content
13
13
- sfi-ropc-nochange
@@ -46,7 +46,7 @@ This article covers using symmetric keys as your authentication method. If you w
46
46
47
47
## Prerequisites
48
48
49
-
This article shows how to register your IoT Edge device and install IoT Edge (also called IoT Edge runtime) on your device. Make sure you have the device management tool of your choice, for example Azure CLI, and device requirements before you register and install your device.
49
+
This article shows how to register your IoT Edge device and install IoT Edge (also called IoT Edge runtime) on your device. Make sure you have the device management tool of your choice; for example Azure CLI, and review device requirements before you register and install your device.
50
50
51
51
<!-- Device registration prerequisites H3 and content -->
@@ -62,7 +62,6 @@ If you're using Visual Studio Code, there are helpful Azure IoT extensions that
62
62
Install both the Azure IoT Edge and Azure IoT Hub extensions:
63
63
64
64
*[Azure IoT Edge](https://marketplace.visualstudio.com/items?itemName=vsciot-vscode.azure-iot-edge). The *Azure IoT Edge tools for Visual Studio Code* extension is in [maintenance mode](https://github.com/microsoft/vscode-azure-iot-edge/issues/639).
Copy file name to clipboardExpand all lines: articles/iot-edge/includes/iot-edge-install-linux.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
ms.topic: include
3
-
ms.date: 04/29/2025
3
+
ms.date: 02/19/2026
4
4
author: sethmanheim
5
5
ms.author: sethm
6
6
ms.service: azure-iot-edge
@@ -67,7 +67,7 @@ Installing with APT can be done with a few commands. Open a terminal and run the
67
67
```
68
68
69
69
> [!TIP]
70
-
> If you gave the "root" account a password during the OS install, you don't need 'sudo' and can run the previous command by starting with 'apt'.
70
+
> If you gave the "root" account a password during the OS install, you don't need `sudo`, and can run the previous command by starting with `apt`.
71
71
72
72
# [Red Hat Enterprise Linux](#tab/rhel)
73
73
@@ -154,21 +154,21 @@ The Docker snap is serviced by Canonical and supported for production scenarios.
154
154
155
155
---
156
156
157
-
By default, the container engine doesn't set container log size limits. Over time, this situation can lead to the device filling up with logs and running out of disk space. However, you can configure your log to show locally, though it's optional. To learn more about logging configuration, see [Prepare to deploy your IoT Edge solution in production](../production-checklist.md#set-up-default-logging-driver).
157
+
By default, the container engine doesn't set container log size limits. Over time, this situation can lead to the device filling up with logs and running out of disk space. However, you can configure your log to show locally, though it's optional. For more information about logging configuration, see [Prepare to deploy your IoT Edge solution in production](../production-checklist.md#set-up-default-logging-driver).
158
158
159
-
The following steps show you how to configure your container to use [`local` logging driver](https://docs.docker.com/config/containers/logging/local/) as the logging mechanism.
159
+
The following steps show you how to configure your container to use the [`local` logging driver](https://docs.docker.com/config/containers/logging/local/) as the logging mechanism.
Copy file name to clipboardExpand all lines: articles/iot-edge/includes/iot-edge-prerequisites-register-device.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
@@ -1,6 +1,6 @@
1
1
---
2
2
ms.topic: include
3
-
ms.date: 04/29/2025
3
+
ms.date: 02/19/2026
4
4
author: sethmanheim
5
5
ms.author: sethm
6
6
ms.service: azure-iot-edge
@@ -9,7 +9,7 @@ services: iot-edge
9
9
10
10
### Device management tools
11
11
12
-
You can use the **Azure portal**, **Visual Studio Code**, or **Azure CLI** for the steps to register your device. Each utility has its own prerequisites or might need to be installed:
12
+
You can use the Azure portal, Visual Studio Code, or the Azure CLI to register your device. Each utility has its own prerequisites or might need to be installed:
Copy file name to clipboardExpand all lines: articles/iot-edge/includes/iot-edge-register-device-symmetric.md
+27-29Lines changed: 27 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
ms.topic: include
3
-
ms.date: 04/29/2025
3
+
ms.date: 02/19/2026
4
4
author: sethmanheim
5
5
ms.author: sethm
6
6
ms.service: azure-iot-edge
@@ -10,7 +10,7 @@ ms.custom: sfi-ropc-nochange
10
10
11
11
## Register your device
12
12
13
-
You can use the **Azure portal**, **Visual Studio Code**, or **Azure CLI** to register your device, depending on your preference.
13
+
You can use the Azure portal, Visual Studio Code, or Azure CLI to register your device, depending on your preference.
14
14
15
15
# [Portal](#tab/azure-portal)
16
16
@@ -41,23 +41,23 @@ Once Azure IoT Edge and Azure IoT Hub extensions are installed, you notice an Az
41
41
42
42
### Register a new device with Visual Studio Code
43
43
44
-
Registering a new device is akin to creating an IoT Edge device in the Azure portal. This virtual device is one of the *twins*, whereas the real world device is the other twin. Visual Studio Code can set up this virtual device for you through the following steps.
44
+
Registering a new device is similar to creating an IoT Edge device in the Azure portal. This virtual device is one of the *twins*, whereas the real world device is the other twin. Visual Studio Code can set up this virtual device for you through the following steps:
45
45
46
46
1. In the Visual Studio Code Explorer menu, expand the **Azure IoT Hub** section.
47
-
1. Select on the **...** in the **Azure IoT Hub** section header. If you don't see the ellipsis, select or hover over the header.
47
+
1. Select the **...** ellipsis in the **Azure IoT Hub** section header. If you don't see the ellipsis, select or hover over the header.
48
48
1. Select **Create IoT Edge Device**.
49
-
1. In the text box that opens, give your device an ID, for example `my-edge-device-1` (all lowercase), then press enter.
49
+
1. In the text box that opens, give your device an ID; for example,`my-edge-device-1` (all lowercase), then press **Enter**.
50
50
51
-
In the output console of Visual Studio Code, you see the result of the command: a JSON printout. The device information includes the **deviceId** that you provided and generates a **connectionString** that you can use to connect your physical device to your IoT hub. The output console also shows your keys and other device identifying information.
51
+
In the output console of Visual Studio Code, you see the result of the command: a JSON printout. The device information includes the **deviceId** that you provided and generates a **connectionString**value that you can use to connect your physical device to your IoT hub. The output console also shows your keys and other device identifying information.
52
52
53
-
You can now see your device listed under the **Azure IoT Hub** > **Devices** section of the Explorer menu.
53
+
You can now see your device listed under the **Azure IoT Hub > Devices** section of the Explorer menu.
54
54
55
55
> [!NOTE]
56
56
> If your device isn't listed, you might need to choose your IoT hub from the link **Select IoT Hub** provided under **Azure IoT Hub** and then follow the prompts. The prompts ask you to choose your subscription first and then your IoT hub. This process lets Visual Studio Code know about your IoT hub (and all devices in it). Refresh Visual Studio Code and your device should show.
57
57
58
58
# [Azure CLI](#tab/azure-cli)
59
59
60
-
Use the [az iot hub device-identity create](/cli/azure/iot/hub/device-identity) command to create a new device identity in your IoT hub. Replace `device_id_here` with your own new and unique device ID, for example `my-edge-device-1` (all lowercase). Replace `hub_name_here` with your existing IoT hub.
60
+
Use the [`az iot hub device-identity create`](/cli/azure/iot/hub/device-identity) command to create a new device identity in your IoT hub. Replace `device_id_here` with your own new and unique device ID; for example,`my-edge-device-1` (all lowercase). Replace `hub_name_here` with your existing IoT hub.
61
61
62
62
This command includes three parameters:
63
63
@@ -69,53 +69,51 @@ This command includes three parameters:
69
69
az iot hub device-identity create --device-id device_id_here --hub-name hub_name_here --edge-enabled
70
70
```
71
71
72
-
If your CLI says **The command requires the extension azure-iot. Do you want to install it now?**, then type `Y` and press `Enter` to initiate the download to create your device.
72
+
If your CLI says **The command requires the extension azure-iot. Do you want to install it now?**, type **Y** and press **Enter** to initiate the download and create your device.
73
73
74
74
---
75
75
76
-
Now that you have a device registered in IoT Hub, you can retrieve provisioning information used to complete the installation and provisioning of the [IoT Edge runtime](../iot-edge-runtime.md) in the next step.
76
+
Now that you have a device registered in IoT Hub, in the next step you can retrieve provisioning information used to complete the installation and provisioning of the [IoT Edge runtime](../iot-edge-runtime.md).
77
77
78
78
## View registered devices and retrieve provisioning information
79
79
80
-
Devices that use symmetric key authentication need their connection strings to complete installation and provisioning of the IoT Edge runtime. The connection string gets generated for your IoT Edge device when you create the device. For Visual Studio Code and Azure CLI, the connection string is in the JSON output. If you use the Azure portal to create your device, you can find the connection string from the device itself. When you select your device in your IoT hub, it's listed as `Primary connection string` on the device page.
80
+
Devices that use symmetric key authentication need their connection strings to complete installation and provisioning of the IoT Edge runtime. The connection string is generated for your IoT Edge device when you create the device. For Visual Studio Code and Azure CLI, the connection string appears in the JSON output. If you use the Azure portal to create your device, you can find the connection string from the device itself. When you select your device in your IoT hub, it's listed as **Primary connection string** on the device page.
81
81
82
82
# [Portal](#tab/azure-portal)
83
83
84
-
The edge-enabled devices that connect to your IoT hub are listed on the **Devices** page of your IoT hub. If you have multiple devices, you can filter the list by selecting the type **Iot Edge Devices**, then select **Apply**.
84
+
The edge-enabled devices that connect to your IoT hub are listed on the **Devices** page of your IoT hub. If you have multiple devices, you can filter the list by selecting the **Iot Edge Devices** type, then select **Apply**.
85
85
86
-
When you're ready to set up your device, you need the connection string that links your physical device with its identity in the IoT hub. Devices that authenticate with symmetric keys have their connection strings available to copy in the portal. To find your connection string in the portal:
86
+
When you're ready to set up your device, you need the connection string that links your physical device with its identity in the IoT hub. Devices that authenticate with symmetric keys have their connection strings available to copy in the portal. To find your connection string in the portal, perform the following steps:
87
87
88
88
1. From the **Devices** page, select the IoT Edge device ID from the list.
89
89
2. Copy the value of either **Primary Connection String** or **Secondary Connection String**. Either key works.
90
90
91
91
# [Visual Studio Code](#tab/visual-studio-code)
92
92
93
-
All the devices that connect to your IoT hub are listed in the **Azure IoT Hub** section of the Visual Studio Code Explorer. IoT Edge devices are distinguishable from non-Edge devices because they have a different icon and you see the **$edgeAgent** and **$edgeHub** modules are deployed to each IoT Edge device.
93
+
All the devices that connect to your IoT hub are listed in the **Azure IoT Hub** section of the Visual Studio Code Explorer. IoT Edge devices are distinguishable from non-edge devices because they have a different icon, and you can see that the **$edgeAgent** and **$edgeHub** modules are deployed to each IoT Edge device.
94
94
95
-
When you're ready to set up your device, you need the connection string that links your physical device with its identity in the IoT hub. Here's how to get your connection string from Visual Studio Code.
95
+
When you're ready to set up your device, you need the connection string that links your physical device with its identity in the IoT hub. Here's how to get your connection string from Visual Studio Code:
96
96
97
-
1. Right-click on the ID (name) of your device in the **Azure IoT Hub** section.
98
-
1. Select **Copy Device Connection String**.
97
+
1. Right-click the ID (name) of your device in the **Azure IoT Hub** section.
98
+
1. Select **Copy Device Connection String**. The connection string is copied to your clipboard.
99
99
100
-
The connection string is copied to your clipboard.
101
-
102
-
You can also select **Get Device Info** from the right-click menu to see all the device info, including the connection string, in the output window.
100
+
You can also select **Get Device Info** from the right-click context menu to see all the device info, including the connection string, in the output window.
103
101
104
102
# [Azure CLI](#tab/azure-cli)
105
103
106
-
To see all devices in your IoT hub, use the [az iot hub device-identity list](/cli/azure/iot/hub/device-identity) command. Replace `hub_name_here` with your own IoT hub name.
104
+
To see all devices in your IoT hub, use the [`az iot hub device-identity list`](/cli/azure/iot/hub/device-identity) command. Replace `hub_name_here` with your own IoT hub name:
107
105
108
-
```azurecli
109
-
az iot hub device-identity list --hub-name hub_name_here
110
-
```
106
+
```azurecli
107
+
az iot hub device-identity list --hub-name hub_name_here
108
+
```
111
109
112
-
Any device that is registered as an IoT Edge device has the property **capabilities.iotEdge** set to **true**. You see a lot of other metadata as JSON output as well, including your device IDs.
110
+
Any device that is registered as an IoT Edge device has the property **capabilities.iotEdge** set to **true**. You can see a lot of other metadata as JSON output as well, including your device IDs.
113
111
114
-
When you're ready to set up your device, you need its connection string that links your physical device with its identity in the IoT hub. Use the following [az iot hub device-identity connection-string show](/cli/azure/iot/hub/device-identity/connection-string) command to return the connection string for a single device. Replace `[device_id]` and `[hub_name]` with your own values. The value for the `device-identity` parameter is case-sensitive.
112
+
When you're ready to set up your device, you need its connection string that links your physical device with its identity in the IoT hub. Use the following [`az iot hub device-identity connection-string show`](/cli/azure/iot/hub/device-identity/connection-string) command to return the connection string for a single device. Replace `[device_id]` and `[hub_name]` with your own values. The value for the `device-identity` parameter is case-sensitive.
115
113
116
-
```azurecli
117
-
az iot hub device-identity connection-string show --device-id [device_id] --hub-name [hub_name]
118
-
```
114
+
```azurecli
115
+
az iot hub device-identity connection-string show --device-id [device_id] --hub-name [hub_name]
116
+
```
119
117
120
118
You should see JSON output in the console, similar to the following example:
0 commit comments