]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
doc: rgw clarify limitations when creating tenant names
authorAbhishek Lekshmanan <abhishek@suse.com>
Wed, 19 Jul 2017 11:57:48 +0000 (13:57 +0200)
committerAbhishek Lekshmanan <abhishek@suse.com>
Thu, 20 Jul 2017 12:01:07 +0000 (14:01 +0200)
We only allow alphanumeric and underscore characters in tenant names
according to the validation in `RGWHandler_REST::validate_tenant_name`

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
doc/radosgw/multitenancy.rst

index 42396cdbd1a3f9be5cf3afdc88dad7bb1a87d53e..95f22d7a1d9162e8d4c76b5acdd3dc0f725dc96c 100644 (file)
@@ -38,7 +38,9 @@ Create a user testx$tester to be accessed with Swift::
   # radosgw-admin --tenant testx --uid tester --display-name "Test User" --subuser tester:test --key-type swift --access full user create
   # radosgw-admin --subuser 'testx$tester:test' --key-type swift --secret test123
 
-Note that the subuser with explicit tenant had to be quoted in the shell.
+.. note:: The subuser with explicit tenant has to be quoted in the shell.
+
+   Tenant names may contain only alphanumeric characters and underscores.
 
 Accessing Buckets with Explicit Tenants
 =======================================