From: Travis Rhoden Date: Thu, 14 Feb 2013 16:23:52 +0000 (-0500) Subject: doc: Update create example to use 'allow ' syntax X-Git-Tag: v0.58~73^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F56%2Fhead;p=ceph.git doc: Update create example to use 'allow ' syntax The ceph auth get-or-create example here is the only place on the page that does not use 'allow --- diff --git a/doc/rados/operations/authentication.rst b/doc/rados/operations/authentication.rst index 4d68639aeb08..20d938bb734d 100644 --- a/doc/rados/operations/authentication.rst +++ b/doc/rados/operations/authentication.rst @@ -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