]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: Update create example to use 'allow ' syntax 56/head
authorTravis Rhoden <trhoden@gmail.com>
Thu, 14 Feb 2013 16:23:52 +0000 (11:23 -0500)
committerTravis Rhoden <trhoden@gmail.com>
Thu, 14 Feb 2013 16:23:52 +0000 (11:23 -0500)
The ceph auth get-or-create example here is the only place on the
page that does not use 'allow <perms.' syntax.  I found that
confusing.  Update to use allow and single quotes.

Signed-off-by: Travis Rhoden <trhoden@gmail.com>
doc/rados/operations/authentication.rst

index 4d68639aeb08094c13877d0fe281ad723a90e8f8..20d938bb734d9d6cc128f7401068ff4d6a6207a9 100644 (file)
@@ -233,7 +233,7 @@ in ``{type}`` and ``{capability}`` pairs on the command line::
 For example, to create a user ``client.foo`` with access 'rw' for
 daemon type 'osd' and 'r' for daemon type 'mon'::
 
-   sudo ceph auth get-or-create-key client.foo osd rw mon r > keyring.foo
+   sudo ceph auth get-or-create-key client.foo osd 'allow rw' mon 'allow r' > keyring.foo
 
 .. note: User names are associated to user types, which include ``client``
    ``osd``, ``mon``, and ``mds``. In most cases, you will be