From 878d8486bed1e8e554f14679ff3b6c538521d765 Mon Sep 17 00:00:00 2001 From: Abhishek Lekshmanan Date: Wed, 19 Jul 2017 13:57:48 +0200 Subject: [PATCH] doc: rgw clarify limitations when creating tenant names 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 --- doc/radosgw/multitenancy.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/radosgw/multitenancy.rst b/doc/radosgw/multitenancy.rst index 42396cdbd1a..95f22d7a1d9 100644 --- a/doc/radosgw/multitenancy.rst +++ b/doc/radosgw/multitenancy.rst @@ -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 ======================================= -- 2.47.3