OS Manuals

/usr/bin/ceph-authtool

Common utilities to mount and interact with a Ceph storage cluster

From ceph-fips-20-common 20.2.5-r1 (enterprise-packages), captured 2026-11-08 by running ceph-authtool --help (exit 1). permalink

usage: ceph-authtool keyringfile [OPTIONS]...
where the options are:
  -l, --list                    will list all keys and capabilities present in
                                the keyring
  -p, --print-key               will print an encoded key for the specified
                                entityname. This is suitable for the
                                'mount -o secret=..' argument
  -C, --create-keyring          will create a new keyring, overwriting any
                                existing keyringfile
  -g, --gen-key                 will generate a new secret key for the
                                specified entityname
  -t, --key-type KEY_TYPE       set the key-type
  --gen-print-key               will generate a new secret key without set it
                                to the keyringfile, prints the secret to stdout
  --import-keyring FILE         will import the content of a given keyring
                                into the keyringfile
  -n NAME, --name NAME          specify entityname to operate on
  -a BASE64, --add-key BASE64   will add an encoded key to the keyring
  --cap SUBSYSTEM CAPABILITY    will set the capability for given subsystem
  --caps CAPSFILE               will set all of capabilities associated with a
                                given key, for all subsystems
  --mode MODE                   will set the desired file mode to the keyring
                                e.g: '0644', defaults to '0600'
Options (12)
OptionDescriptionSource
-l, --listwill list all keys and capabilities present in the keyringhelp + man
-p, --print-keywill print an encoded key for the specified entityname.help + man
-C, --create-keyringwill create a new keyring, overwriting any existing keyringfilehelp + man
-g, --gen-keywill generate a new secret key for the specified entitynamehelp + man
-t, --key-type KEY_TYPESet the key-type for generated keys.help + man
--gen-print-keywill generate a new secret key for the specified entityname, without altering the keyringfile, printing the secret to stdouthelp + man
--import-keyring FILEwill import the content of a given keyring into the keyringfilehelp + man
-n, --name NAMEspecify entityname to operate onhelp + man
-a, --add-key BASE64will add an encoded key to the keyringhelp + man
--cap SUBSYSTEMwill set the capability for given subsystemhelp + man
--caps CAPSFILEwill set all of capabilities associated with a given key, for all subsystemshelp + man
--mode MODEwill set the desired file mode to the keyring e.g: '0644', defaults to '0600'help + man
Examples (4) from the manual page, untested

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.