Skip to content

Commit

Permalink
docs: Add Documentation for --yes Flag in Blob Signing (sigstore#274)
Browse files Browse the repository at this point in the history
* Add yes flag desc

Signed-off-by: mrlutik <[email protected]>

* Fix typo in shell command

Signed-off-by: mrlutik <[email protected]>

* Add backticks to the flag representation in description

Co-authored-by: ltagliaferri <[email protected]>
Signed-off-by: Eugene <[email protected]>

---------

Signed-off-by: mrlutik <[email protected]>
Signed-off-by: Eugene <[email protected]>
Co-authored-by: ltagliaferri <[email protected]>
  • Loading branch information
MrLutik and ltagliaferri authored Nov 22, 2023
1 parent e67edae commit a107eef
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions content/en/signing/signing_with_blobs.md
Original file line number Diff line number Diff line change
Expand Up @@ -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-blob --yes -key cosign.key myregistry/myimage:latest
```

0 comments on commit a107eef

Please sign in to comment.