From 7eefe0b7d8844d4370dc79de2689623f50014afa Mon Sep 17 00:00:00 2001 From: Travis Rhoden Date: Thu, 14 Feb 2013 11:23:52 -0500 Subject: [PATCH] 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 --- doc/rados/operations/authentication.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3