To enable artifact signing in Tekton Chains, you need to generate and configure signing keys. This document explains how to generate and configure signing keys for different signing methods.
The signing key is used to generate signature information for artifacts. Please keep it secure.
You can use the cosign tool to generate a signing key pair:
Note:
COSIGN_PASSWORD
is the password for encrypting the signing keytekton-pipelines
is the namespace where the Chains component is deployed (default is tekton-pipelines
)signing-secrets
is the name of the Secret for storing the signing keyAfter execution, you can view the corresponding Secret resource:
If you don't have permission, you can ask the administrator to get the public key.
After configuring the signing key, restart the Tekton Chains component to make it take effect:
Wait for the component to start: