From: hrchu Date: Wed, 5 Apr 2017 06:02:00 +0000 (+0800) Subject: doc: rgw: Clean up create subuser parameters X-Git-Tag: v12.0.3~287^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=26393de17d03872cc1d3300b6efb5b430b98769d;p=ceph.git doc: rgw: Clean up create subuser parameters "gen-subuser" is unavailable, remove it. Hence, "subuser" is required. Signed-off-by: hrchu --- diff --git a/doc/radosgw/adminops.rst b/doc/radosgw/adminops.rst index e4ba7816f2c..b3253eb3f6c 100644 --- a/doc/radosgw/adminops.rst +++ b/doc/radosgw/adminops.rst @@ -738,9 +738,8 @@ Create Subuser ============== Create a new subuser (primarily useful for clients using the Swift API). -Note that either ``gen-subuser`` or ``subuser`` is required for a valid -request. Note that in general for a subuser to be useful, it must be -granted permissions by specifying ``access``. As with user creation if +Note that in general for a subuser to be useful, it must be granted +permissions by specifying ``access``. As with user creation if ``subuser`` is specified without ``secret``, then a secret key will be automatically generated. @@ -771,7 +770,7 @@ Request Parameters :Description: Specify the subuser ID to be created. :Type: String :Example: ``sub_foo`` -:Required: No +:Required: Yes ``secret-key``