From 26393de17d03872cc1d3300b6efb5b430b98769d Mon Sep 17 00:00:00 2001 From: hrchu Date: Wed, 5 Apr 2017 14:02:00 +0800 Subject: [PATCH] doc: rgw: Clean up create subuser parameters "gen-subuser" is unavailable, remove it. Hence, "subuser" is required. Signed-off-by: hrchu --- doc/radosgw/adminops.rst | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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`` -- 2.39.5