Skip to content

Commit

Permalink
fix(doc): add an example for existing option on verify-blob command (#…
Browse files Browse the repository at this point in the history
…1024)

Co-authored-by: Furkan Türkal <furkan.turkal@trendyol.com>
Co-authored-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>
Signed-off-by: Erkan Zileli <erkan.zileli@trendyol.com>
  • Loading branch information
3 people committed Nov 10, 2021
1 parent c0744b3 commit 5a350e4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cmd/cosign/cli/verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,11 @@ The blob may be specified as a path to a file or - for stdin.`,
cosign verify-blob --key gitlab://[OWNER]/[PROJECT_NAME] --signature $sig <blob>
# Verify a signature against GitLab with project id
cosign verify-blob --key gitlab://[PROJECT_ID] --signature $sig <blob>`,
cosign verify-blob --key gitlab://[PROJECT_ID] --signature $sig <blob>
# Verify a signature against a certificate
cosign verify-blob --cert <cert> --signature $sig <blob>
`,

Args: cobra.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {
Expand Down
4 changes: 4 additions & 0 deletions doc/cosign_verify-blob.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5a350e4

Please sign in to comment.