carta
singularity-key-import(1)

singularity-key-import1

Import a local key into the local or global keyring

Usage

apptainer key import [import options ...]

Overview

The 'key import' command allows you to add a key to your local or global keyring
from a specific file.

Options

-g, --global[=false]
manage global public keys (import/pull/remove are restricted to root user or unprivileged installation only)

-h, --help[=false]
help for import

-d, --keysdir="/build/.apptainer/keys"
set local keyring dir path, an alternative way is to set environment variable 'APPTAINER_KEYSDIR'

--new-password[=false]
set a new password to the private key

Examples

  $ apptainer key import ./my-key.asc
  # Import into global keyring (root user only)
  $ apptainer key import --global ./my-key.asc

History

22-Sep-2026 Auto generated by spf13/cobra

From apptainer 1.5.4-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.