summaryrefslogtreecommitdiff
path: root/docs/source/markdown
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-11-13 13:10:48 +0100
committerGitHub <noreply@github.com>2021-11-13 13:10:48 +0100
commit8f3fb743ee57964594b36fdffb7b8fc5e3ca3371 (patch)
tree7ed656fefe7ed96a7c8484d774d901d625a420ae /docs/source/markdown
parent78bc2390f4d03ef4b179b129c69b5332c30692ce (diff)
parent6762d5e2381d79c26ecabac8c83d31d1f49e1325 (diff)
downloadpodman-8f3fb743ee57964594b36fdffb7b8fc5e3ca3371.tar.gz
podman-8f3fb743ee57964594b36fdffb7b8fc5e3ca3371.tar.bz2
podman-8f3fb743ee57964594b36fdffb7b8fc5e3ca3371.zip
Merge pull request #12270 from rhatdan/auth
--authfile command line argument for image sign command.
Diffstat (limited to 'docs/source/markdown')
-rw-r--r--docs/source/markdown/podman-image-sign.1.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/source/markdown/podman-image-sign.1.md b/docs/source/markdown/podman-image-sign.1.md
index e284955a2..5f23bbfaf 100644
--- a/docs/source/markdown/podman-image-sign.1.md
+++ b/docs/source/markdown/podman-image-sign.1.md
@@ -23,6 +23,13 @@ Print usage statement.
Sign all the manifests of the multi-architecture image (default false).
+#### **--authfile**=*path*
+
+Path of the authentication file. Default is ${XDG\_RUNTIME\_DIR}/containers/auth.json
+
+Note: You can also override the default path of the authentication file by setting the REGISTRY\_AUTH\_FILE
+environment variable. `export REGISTRY_AUTH_FILE=path`
+
#### **--cert-dir**=*path*
Use certificates at *path* (\*.crt, \*.cert, \*.key) to connect to the registry.
@@ -41,6 +48,8 @@ Sign the busybox image with the identity of foo@bar.com with a user's keyring an
sudo podman image sign --sign-by foo@bar.com --directory /tmp/signatures docker://privateregistry.example.com/foobar
+ sudo podman image sign --authfile=/tmp/foobar.json --sign-by foo@bar.com --directory /tmp/signatures docker://privateregistry.example.com/foobar
+
## RELATED CONFIGURATION
The write (and read) location for signatures is defined in YAML-based