]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: add rbd example to ceph-authtool man page
authorJosh Durgin <josh.durgin@inktank.com>
Mon, 1 Oct 2012 20:32:08 +0000 (13:32 -0700)
committerJosh Durgin <josh.durgin@inktank.com>
Tue, 2 Oct 2012 22:43:38 +0000 (15:43 -0700)
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
doc/man/8/ceph-authtool.rst
man/ceph-authtool.8

index ed55fb3cd89c5acbb4eb73448c31ec54ec82a3f0..d120a27ac750f59ec0b59b2294bd19e4668fd411 100644 (file)
@@ -89,6 +89,12 @@ A librados user restricted to a single pool might look like::
 
         osd = "allow rw pool foo"
 
+A client using rbd with read access to one pool and read/write access to another::
+
+        mon = "allow r"
+
+        osd = "allow pool templates r class-read, allow pool vms rwx"
+
 A client mounting the file system with minimal permissions would need caps like::
 
         mds = "allow"
index 9509b5f0ae279948f1291abbb128d64459ac9af7..36793fcdf5e1223e62874ea9a4fd20f04565d8ea 100644 (file)
@@ -123,6 +123,16 @@ osd = "allow rw pool foo"
 .ft P
 .fi
 .sp
+A client using rbd with read access to one pool and read/write access to another:
+.sp
+.nf
+.ft C
+mon = "allow r"
+
+osd = "allow pool templates r class\-read, allow pool vms rwx"
+.ft P
+.fi
+.sp
 A client mounting the file system with minimal permissions would need caps like:
 .sp
 .nf