-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
markdown fixes - add empty lines around shell backticks
- Loading branch information
Showing
1 changed file
with
5 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 [email protected] user/demo | ||
Check failure on line 91 in content/en/verifying/verify.md GitHub Actions / markdownlintDollar signs used before commands without showing output
|
||
``` | ||
|
||
* 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 \ | ||
|