X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fdoc%2Fman%2F8%2Fceph-authtool.rst;fp=ceph%2Fdoc%2Fman%2F8%2Fceph-authtool.rst;h=fb0afe7dae768d083e7ac266542d2479a9bbc4a9;hb=94b1876350060563a6ac95339df15f95fd3ebadc;hp=f1ac1521ef901f28112d652af25033c4f57bdc31;hpb=4832b6f0acade977670a37c20ff5dbe69e727416;p=ceph.git diff --git a/ceph/doc/man/8/ceph-authtool.rst b/ceph/doc/man/8/ceph-authtool.rst index f1ac1521e..fb0afe7da 100644 --- a/ceph/doc/man/8/ceph-authtool.rst +++ b/ceph/doc/man/8/ceph-authtool.rst @@ -21,6 +21,7 @@ Synopsis [ -a | --add-key *base64_key* ] [ --cap *subsystem* *capability* ] [ --caps *capfile* ] + [ --mode *mode* ] Description @@ -87,6 +88,10 @@ Options will set all of capabilities associated with a given key, for all subsystems + .. option:: --mode *mode* + + will set the desired file mode to the keyring e.g: 0644, defaults to 0600 + Capabilities ============ @@ -172,9 +177,9 @@ value is the capability string (see above). Example ======= -To create a new keyring containing a key for client.foo:: +To create a new keyring containing a key for client.foo with a 0644 file mode:: - ceph-authtool -C -n client.foo --gen-key keyring + ceph-authtool -C -n client.foo --gen-key keyring --mode 0644 To associate some capabilities with the key (namely, the ability to mount a Ceph filesystem)::