Skip to content

Commit c53c083

Browse files
authored
Merge pull request #102967 from onalante-msft/private-registry-auth
[iot-edge] Add registry authentication step and fix parameter typo
2 parents c36cd28 + 9a50042 commit c53c083

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

articles/iot-edge/production-checklist.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -251,9 +251,18 @@ The following steps illustrate how to pull a Docker image of **edgeAgent** and *
251251

252252
1. In the text editor, change your image values under `[agent.config]`. Replace the values in brackets with your own.
253253

254-
```bash
254+
```toml
255255
[agent.config]
256-
Image = "<registry-name/server>/azureiotedge-agent:1.4"
256+
image = "<registry-name/server>/azureiotedge-agent:1.4"
257+
```
258+
259+
1. If your private registry requires authentication, set the authentication parameters in `[agent.config.auth]`.
260+
261+
```toml
262+
[agent.config.auth]
263+
serveraddress = "<login-server>" # Almost always equivalent to <registry-name/server>
264+
username = "<username>"
265+
password = "<password>"
257266
```
258267

259268
1. Save your changes and exit your text editor.
@@ -531,4 +540,4 @@ These constraints can be applied to individual modules by using create options i
531540
## Next steps
532541

533542
* Learn more about [IoT Edge automatic deployment](module-deployment-monitoring.md).
534-
* See how IoT Edge supports [Continuous integration and continuous deployment](how-to-continuous-integration-continuous-deployment.md).
543+
* See how IoT Edge supports [Continuous integration and continuous deployment](how-to-continuous-integration-continuous-deployment.md).

0 commit comments

Comments
 (0)