diff --git a/content/en/signing/signing_with_blobs.md b/content/en/signing/signing_with_blobs.md index 764bf94b..7a9c9a3e 100644 --- a/content/en/signing/signing_with_blobs.md +++ b/content/en/signing/signing_with_blobs.md @@ -96,3 +96,10 @@ You can sign it with the normal `cosign sign` command and flags: ```shell $ cosign sign gcr.io/user/demo/artifact ``` +## Non-Interactive Signing with the Yes Flag + +In situations where automated signing is required, such as within CI/CD pipelines, the --yes flag becomes essential. This flag, when used with signing commands, bypasses any confirmation prompts, enabling a smooth, uninterrupted signing process. This is particularly crucial in automated environments where manual input isn't feasible. The --yes flag ensures that your signing operations can proceed without manual intervention, maintaining the efficiency and speed of your automated workflows. + +``` +cosign sign --yes -key cosign.key myregistry/myimage:latest +``` \ No newline at end of file