Skip to content

Commit 2623d97

Browse files
Azure Defender for IoT, wrong symmetric key path
in https://docs.microsoft.com/en-us/azure/defender-for-iot/device-builders/tutorial-standalone-agent-binary-installation the path /etc/defender_iot_micro_agent/connection_string.txt is used. This /etc path works ok.
1 parent b331983 commit 2623d97

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/iot-edge/how-to-connect-downstream-iot-edge-device.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -576,13 +576,13 @@ Learn more about the [Defender for IoT micro agent](../defender-for-iot/device-b
576576
577577
1. Open a terminal on the leaf device.
578578
579-
1. Use the following command to place the connection string encoded in utf-8 in the Defender for Cloud agent directory into the file `connection_string.txt` in the following path: `/var/defender_iot_micro_agent/connection_string.txt`:
579+
1. Use the following command to place the connection string encoded in utf-8 in the Defender for Cloud agent directory into the file `connection_string.txt` in the following path: `/etc/defender_iot_micro_agent/connection_string.txt`:
580580
581581
```bash
582-
sudo bash -c 'echo "<connection string>" > /var/defender_iot_micro_agent/connection_string.txt'
582+
sudo bash -c 'echo "<connection string>" > /etc/defender_iot_micro_agent/connection_string.txt'
583583
```
584584
585-
The `connection_string.txt` should now be located in the following path location `/var/defender_iot_micro_agent/connection_string.txt`.
585+
The `connection_string.txt` should now be located in the following path location `/etc/defender_iot_micro_agent/connection_string.txt`.
586586
587587
1. Restart the service using this command:
588588

0 commit comments

Comments
 (0)