]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/radosgw: admin.rst - edit "Create a Subuser" 55011/head
authorZac Dover <zac.dover@proton.me>
Wed, 27 Dec 2023 04:28:51 +0000 (14:28 +1000)
committerZac Dover <zac.dover@proton.me>
Wed, 27 Dec 2023 04:28:51 +0000 (14:28 +1000)
Edit the section "Create a Subuser" in doc/radosgw/admin.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
doc/radosgw/admin.rst

index bbcf9e218965c95bd25c5b2882020bef02aa2600..7cd11552660c3cdbf585543a752445fc1af61ed3 100644 (file)
@@ -93,17 +93,23 @@ The creation of a user entails the creation of an ``access_key`` and a
 Create a Subuser
 ----------------
 
-To create a subuser (Swift interface) for the user, you must specify the user ID
-(``--uid={username}``), a subuser ID and the access level for the subuser. ::
+To create a subuser (a user of the Swift interface) for the user, specify the
+user ID (``--uid={username}``), a subuser ID, and the subuser's access level:
 
-  radosgw-admin subuser create --uid={uid} --subuser={uid} --access=[ read | write | readwrite | full ]
+.. prompt:: bash
 
-For example::
+   radosgw-admin subuser create --uid={uid} --subuser={uid} --access=[ read | write | readwrite | full ]
+
+For example:
+
+.. prompt:: bash
 
-  radosgw-admin subuser create --uid=johndoe --subuser=johndoe:swift --access=full
+   radosgw-admin subuser create --uid=johndoe --subuser=johndoe:swift --access=full
 
 
-.. note:: ``full`` is not ``readwrite``, as it also includes the access control policy.
+.. note:: ``full`` is not the same as ``readwrite``. The ``full`` access level
+   includes ``read`` and ``write``, but it also includes the access control
+   policy.
 
 .. code-block:: javascript