apptainer key list

List keys in your local or in the global keyring

Synopsis

List your local keys in your keyring. Will list public (trusted) keys by default.

apptainer key list

Examples

$ apptainer key list
$ apptainer key list --secret

# list global public keys
$ apptainer key list --global

Options

-g, --global[=true|false]   manage global public keys (import/pull/remove are restricted to root user or unprivileged installation only)
-h, --help[=true|false]     help for list
-d, --keysdir string        set local keyring dir path, an alternative way is to set environment variable 'APPTAINER_KEYSDIR' (default "/home/runner/.apptainer/keys")
-s, --secret[=true|false]   list private keys instead of the default which displays public ones

SEE ALSO

Auto generated by spf13/cobra on 1-Dec-2026