Skip to content

Commit

Permalink
markdown fixes - add empty lines around shell backticks
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry S <dsavints@gmail.com>
  • Loading branch information
dmitris committed Jul 1, 2024
1 parent a2a60e8 commit e7dae18
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions content/en/verifying/verify.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,20 @@ $ cosign verify --certificate cosign.crt --certificate-chain chain.crt --certifi
```

## Verify image with user-provided trusted chain

Verify image with the provided certificate chain(s) and identity parameters (intended for
"bring your own PKI" use cases).

* with a single certificate chain file - which may contain one or several intermediate
certificates followed by the root CA certificate - use the `--certificate-chain` parameter:

```shell
$ cosign verify --certificate-chain chain.crt --certificate-oidc-issuer https://issuer.example.com --certificate-identity foo@example.com user/demo

Check failure on line 91 in content/en/verifying/verify.md

View workflow job for this annotation

GitHub Actions / markdownlint

Dollar signs used before commands without showing output

content/en/verifying/verify.md:91:1 MD014/commands-show-output Dollar signs used before commands without showing output [Context: "$ cosign verify --certificate-..."] https://github.com/DavidAnson/markdownlint/blob/v0.29.0/doc/md014.md
```

* with a certificate bundle PEM file containing several CA roots and (optionally)
intermediate certificates, use the `--ca-roots` parameter together with `--ca-intermediates`:

```shell
$ cosign verify --ca-roots ca-roots.pem --ca-intermediates ca-intermediates \
--certificate-oidc-issuer https://issuer.example.com \
Expand Down

0 comments on commit e7dae18

Please sign in to comment.