1apptainer(1) apptainer(1)
2
3
4
6 apptainer-key-import - Import a local key into the local or global
7 keyring
8
9
10
12 apptainer key import [import options...]
13
14
15
17 The 'key import' command allows you to add a key to your local or
18 global keyring
19 from a specific file.
20
21
22
24 -g, --global[=false] manage global public keys (import/pull/remove
25 are restricted to root user or unprivileged installation only)
26
27
28 -h, --help[=false] help for import
29
30
31 -d, --keysdir="/builddir/.apptainer/keys" set local keyring dir
32 path, an alternative way is to set environment variable 'APP‐
33 TAINER_KEYSDIR'
34
35
36 --new-password[=false] set a new password to the private key
37
38
39
41 $ apptainer key import ./my-key.asc
42
43 # Import into global keyring (root user only)
44 $ apptainer key import --global ./my-key.asc
45
46
47
48
50 apptainer-key(1)
51
52
53
55 10-Jan-2023 Auto generated by spf13/cobra
56
57
58
59Auto generated by spf13/cobra Jan 2023 apptainer(1)