From 34ce2176eec653e2d678f8ebf9bf8d5c6aa7eb30 Mon Sep 17 00:00:00 2001 From: mrlutik Date: Tue, 21 Nov 2023 20:45:33 +0100 Subject: [PATCH] Add yes flag desc Signed-off-by: mrlutik --- content/en/signing/signing_with_blobs.md | 7 +++++++ 1 file changed, 7 insertions(+) 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