Skip to content

Commit

Permalink
Update for the added --output-payload option to (cosign sign)
Browse files Browse the repository at this point in the history
Signed-off-by: Miloslav Trmač <[email protected]>
  • Loading branch information
mtrmac committed Mar 10, 2023
1 parent 88aae6d commit 1db2c83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/en/cosign/sign.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1db2c83

Please sign in to comment.