From 1db2c83e2f201eab893006d910132924c1feb57f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20Trma=C4=8D?= Date: Sat, 11 Mar 2023 00:24:32 +0100 Subject: [PATCH] Update for the added --output-payload option to (cosign sign) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miloslav Trmač --- content/en/cosign/sign.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/en/cosign/sign.md b/content/en/cosign/sign.md index ea0910a5..c93ab892 100644 --- a/content/en/cosign/sign.md +++ b/content/en/cosign/sign.md @@ -155,10 +155,10 @@ The following checks were performed on each of these signatures: ## Sign but skip upload (to store somewhere else) -The upload is skipped by using the `--upload=false` flag (default true). To capture the output use the `--output-signature FILE` and/or `--output-certificate FILE` flags. +The upload is skipped by using the `--upload=false` flag (default true). To capture the output use the `--output-signature FILE`, `--output-payload FILE`, and/or `--output-certificate FILE` flags. ```shell -$ cosign sign --key key.pem --upload=false --output-signature demo.sig --output-certificate demo.crt user/demo +$ cosign sign --key key.pem --upload=false --output-signature demo.sig --output-payload demo.payload --output-certificate demo.crt user/demo ``` ## Generate the signature payload (to sign with another tool)