Ceph user and keyring
When cephx is enabled, you must specify a user name or ID and a path to
the keyring containing the corresponding key for the user.
Note:
cephx is enabled by default.You might also add the CEPH_ARGS environment variable to avoid re-entry of the
following parameters:
Syntax
rbd --id USER_ID --keyring=/path/to/secret [commands]
rbd --name USERNAME --keyring=/path/to/secret [commands]
Example
[root@rbd-client ~]# rbd --id admin --keyring=/etc/ceph/ceph.keyring [commands]
[root@rbd-client ~]# rbd --name client.admin --keyring=/etc/ceph/ceph.keyring [commands]
Tip: Add the user and secret to the
CEPH_ARGS environment variable so
that you do not need to enter them each time.