Skip to content

Commit 8fe7454

Browse files
Merge pull request #289688 from kgremban/nov1-bugfix
validate images find version
2 parents a52418b + 70b05f2 commit 8fe7454

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

articles/iot-operations/secure-iot-ops/howto-validate-images.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Validate that Azure IoT Operations docker and helm images are legit
44
author: kgremban
55
ms.author: kgremban
66
ms.topic: how-to
7-
ms.date: 09/24/2024
7+
ms.date: 11/01/2024
88

99
#CustomerIntent: As an IT professional, I want to ensure that the images I download for Azure IoT Operations are legitimate.
1010
---
@@ -73,10 +73,12 @@ Azure IoT Operations signs its docker and helm images to allow users to verify t
7373

7474
1. Use notation to verify your downloaded images against the trustpolicy.
7575

76+
Replace the version placeholder with the version number of the image that you want to check. For an existing instance of Azure IoT Operations, you can find the version number on the instance overview page in the Azure portal or by running [az iot ops show](/cli/azure/iot/ops#az-iot-ops-show). For a full list of available versions, see [azure-iot-operations releases](https://github.com/Azure/azure-iot-operations/releases).
77+
7678
```sh
7779
notation policy import <TRUSTPOLICY_FILE>.json
7880
export NOTATION_EXPERIMENTAL=1
79-
notation verify --allow-referrers-api mcr.microsoft.com/azureiotoperations/aio-operator:0.8.16
81+
notation verify --allow-referrers-api mcr.microsoft.com/azureiotoperations/aio-operator:<AZURE_IOT_OPERATIONS_VERSION>
8082
```
8183

8284
The output of the command looks like the following example:

0 commit comments

Comments
 (0)