Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / src / test / cli / ceph-authtool / simple.t
1   $ ceph-authtool
2   ceph-authtool: must specify filename
3   usage: ceph-authtool keyringfile [OPTIONS]...
4   where the options are:
5     -l, --list                    will list all keys and capabilities present in
6                                   the keyring
7     -p, --print-key               will print an encoded key for the specified
8                                   entityname. This is suitable for the
9                                   'mount -o secret=..' argument
10     -C, --create-keyring          will create a new keyring, overwriting any
11                                   existing keyringfile
12     -g, --gen-key                 will generate a new secret key for the
13                                   specified entityname
14     --gen-print-key               will generate a new secret key without set it
15                                   to the keyringfile, prints the secret to stdout
16     --import-keyring FILE         will import the content of a given keyring
17                                   into the keyringfile
18     -n NAME, --name NAME          specify entityname to operate on
19     -u AUID, --set-uid AUID       sets the auid (authenticated user id) for the
20                                   specified entityname
21     -a BASE64, --add-key BASE64   will add an encoded key to the keyring
22     --cap SUBSYSTEM CAPABILITY    will set the capability for given subsystem
23     --caps CAPSFILE               will set all of capabilities associated with a
24                                   given key, for all subsystems
25   [1]