summaryrefslogtreecommitdiffstats
path: root/share/man/container-key.1.rst
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-07-25 19:55:11 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-07-26 03:46:53 +0000
commit4706c835140a29b6f1094ed96689e79aa0f5b702 (patch)
treee307b35e4b6ace1a65f91b2eddfed55a5be04073 /share/man/container-key.1.rst
parentSpeeding up container list command by optimizing IP address gathering. (diff)
downloadcompute-tools-4706c835140a29b6f1094ed96689e79aa0f5b702.tar.xz
compute-tools-4706c835140a29b6f1094ed96689e79aa0f5b702.zip
Support fetching remote keys from keyserver in container key command.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'share/man/container-key.1.rst')
-rw-r--r--share/man/container-key.1.rst23
1 files changed, 21 insertions, 2 deletions
diff --git a/share/man/container-key.1.rst b/share/man/container-key.1.rst
index 1eddce3..d21956a 100644
--- a/share/man/container-key.1.rst
+++ b/share/man/container-key.1.rst
@@ -44,7 +44,7 @@ Options
The following **container key** options are available:
--a, --add='KEY':
+-a, --add='KEY_FILE|KEY_ID':
Add a key to the keyring.
-l, --list':
@@ -56,15 +56,34 @@ The following **container key** options are available:
Examples
========
-Add a key to the keyring:
+Add a key to the keyring manually:
gpg --keyserver hkps://keys.openpgp.org --recv 0x55CF1BF986ABB9C7
gpg --armor --export 0x55CF1BF986ABB9C7 | sudo container key --add -
+Assisted adding of the same key:
+
+ sudo container key --add 0x55CF1BF986ABB9C7
+
Remove a key from the keyring:
sudo container key --remove 0x55CF1BF986ABB9C7
+List keys in the keyring:
+
+ sudo container key --list
+
+Files
+=====
+
+The following files are used:
+
+/etc/compute-tools/keys:
+ Active container keyring.
+
+/usr/share/compute-tools/keys:
+ Inactive container keyring library.
+
See also
========