diff options
author | Qi Wang <qiwan@redhat.com> | 2019-08-16 12:08:13 -0400 |
---|---|---|
committer | Qi Wang <qiwan@redhat.com> | 2019-08-17 13:13:26 -0400 |
commit | f3f01830dbfd5f5e939e0f8ab793b0018224db4a (patch) | |
tree | d83e68a4ef437b03240e4ab7e984f31c4aed5717 /docs | |
parent | 76f327f73ff9f5ae67a30186007685b8a2e21d67 (diff) | |
download | podman-f3f01830dbfd5f5e939e0f8ab793b0018224db4a.tar.gz podman-f3f01830dbfd5f5e939e0f8ab793b0018224db4a.tar.bz2 podman-f3f01830dbfd5f5e939e0f8ab793b0018224db4a.zip |
add --cert-dir image sign
Requirement from #2726
Add --cert-dir for `podman image sign`.
Signed-off-by: Qi Wang <qiwan@redhat.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/podman-image-sign.1.md | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/docs/podman-image-sign.1.md b/docs/podman-image-sign.1.md index 61df3b3bd..ca438b438 100644 --- a/docs/podman-image-sign.1.md +++ b/docs/podman-image-sign.1.md @@ -12,14 +12,23 @@ been pulled from a registry. The signature will be written to a directory derived from the registry configuration files in /etc/containers/registries.d. By default, the signature will be written into /var/lib/containers/sigstore directory. ## OPTIONS + **--help**, **-h** - Print usage statement. + +Print usage statement. + +**--cert-dir**=*path* + +Use certificates at *path* (\*.crt, \*.cert, \*.key) to connect to the registry. +Default certificates directory is _/etc/containers/certs.d_. (Not available for remote commands) **--directory**, **-d**=*dir* - Store the signatures in the specified directory. Default: /var/lib/containers/sigstore + +Store the signatures in the specified directory. Default: /var/lib/containers/sigstore **--sign-by**=*identity* - Override the default identity of the signature. + +Override the default identity of the signature. ## EXAMPLES Sign the busybox image with the identify of foo@bar.com with a user's keyring and save the signature in /tmp/signatures/. |