Loading...

Notary Project - the signing technology behind AKS Image Integrity

Notary Project - the signing technology behind AKS Image Integrity

AKS Image Integrity feature allows you to check the authenticity and ensure integrity of the container images used for deployments. But do you know what the signing technology behind it is? Notary Project is a CNCF project established in 2017 with the goal to improve the security for software supply chains. In the past few years, one of the main goals of the Notary Project community was to implement a portable signature format that can be used to sign cloud-native artifacts including container images.

 

How do Notary Project signatures work?

Notary Project signatures are detached signatures that can be linked to the container image in any OCI-compliant registry. The resulting hierarchy in the registry is shown here:

 

notary-project-signature.png

 

The benefit of using detached signatures is that the signature can be downloaded and verified independently from the image. However, due to the content addressable nature of the OCI registries, the integrity of the verified content is preserved - the signature refers to the content by its SHA256 hash. Any changes in the content will invalidate the signature. Having the ability to verify the signature without downloading the full content of the image can significantly improve the performance of the large-scale applications deployed on AKS.

Another benefit of Notary Project signatures is their portability. Images and their signatures can be copied from one registry to another without breaking the signatures. 

 

Use Notation CLI to sign container images

Notation is a subproject of Notary Project and offers a reference implementation for Notary Project signatures. Notation has a CLI to use on the command line as well as Golang libraries that can be used for integration in other projects. 

Signing a container image with Notation CLI is as simple as issuing the following command:

 

notation sign --key <signing-key-to-use> <image-to-sign>

 

The CLI has a plugin architecture that allows you to use signing keys stored in various key management systems (KMS). Using a key saved in a KMS ensures that the key never leaves the vault and stays secure. For signing container images in Azure, you can leverage the Azure Key Vault plugin for Notation CLI.

 

Want to learn more?

The following two videos talk about the history of Notary Project and show demoes of how to sign and verify images with Notation.

 

 

 

How to get started?

You can use the following tutorial to learn how to sign container images using Notation CLI. The following tutorial explains how to set up Image Integrity on your AKS cluster to verify signed images. Notary Project documentation offers more details and examples how to use Notation CLI.

 

Go ahead and make your supply chain for containers more secure!

Published on:

Learn more
Azure Developer Community Blog articles
Azure Developer Community Blog articles

Azure Developer Community Blog articles

Share post:

Related posts

This Month in Azure Static Web Apps | 09/2024

    We are back with another edition of the Azure Static Web Apps Community! :party_popper:   September was yet another month ...

1 year ago

GitHub Copilot for Azure: 6 Must-Try Features

As developers, we are constantly seeking tools that streamline our workflows and boost productivity. … Enter GitHub Copilot for Azure, now in ...

1 year ago

Responsible AI Mitigation Layers

Generative AI is increasingly being used in various kinds of systems to augment humans and infuse intelligent behavior into existing and new a...

1 year ago

Streamline Your Azure Workflow: Introducing GitHub Copilot for Azure in VS Code

I'm excited to announce the public preview of GitHub Copilot for Azure - a new addition to your toolkit that seamlessly integrates with G...

1 year ago

Build Intelligent Apps Code-First with Prompty and Azure AI

      Building Generative AI applications can feel daunting for traditional app developers. What does the end-to-end applicati...

1 year ago

Certificación AI-900 (Fundamentos de IA) con Chicas en IA

La inteligencia artificial ha llegado para quedarse, ¡y más aún con la revolucionaria IA generativa! Para ayudar a los profesionales a especia...

1 year ago

Get certified with Learn Live GitHub series!

GitHub Universe is coming, and Microsoft and GitHub are partnering to offer a new special Learn Live series in Brazilian Portuguese, English a...

1 year ago

Certifícate con Learn Live GitHub en Español

Microsoft y GitHub se han unido para ofrecer una nueva serie especial de Learn Live en inglés y español: GitHub 2024. Del 10 al 24 de Octubre,...

1 year ago

Evaluating generative AI: Best practices for developers

As a developer working with generative AI, you've likely marveled at the impressive outputs your models can produce. But how do you ensure the...

1 year ago

Introducing Azure Product Retirement Livestreams

The Azure Retirements team, in collaboration with key partner groups, is excited t...

1 year ago

Newsletter

Get the latest Dynamics 365 and Power Platform content in your inbox

A curated digest of community blogs, product news, videos, and podcasts — delivered without the noise.

Weekly updates Unsubscribe anytime Fresh community picks
We use your email only for the newsletter and you can unsubscribe at any time.
By subscribing, you agree to the privacy policy.