]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
docs: Fixed swift client authentication fail 23729/head
authorDai Dang Van <daikk115@gmail.com>
Fri, 24 Aug 2018 09:54:06 +0000 (16:54 +0700)
committerDai Dang Van <daikk115@gmail.com>
Fri, 24 Aug 2018 10:27:42 +0000 (17:27 +0700)
For now, swift client use V3 as a default, so
we should pass an explicit version for this example

Signed-off-by: Dai Dang Van <daikk115@gmail.com>
doc/install/install-ceph-gateway.rst

index 92479b2800f0006dbb0119595dd12b08b63e899c..bd1a76e7dd8a90fc074ef945732330b9edb5ede4 100644 (file)
@@ -593,7 +593,7 @@ On Debian-based distributions::
 
 To test swift access, execute the following::
 
- swift -A http://{IP ADDRESS}:{port}/auth/1.0 -U testuser:swift -K '{swift_secret_key}' list
+ swift -V 1 -A http://{IP ADDRESS}:{port}/auth -U testuser:swift -K '{swift_secret_key}' list
 
 Replace ``{IP ADDRESS}`` with the public IP address of the gateway server and
 ``{swift_secret_key}`` with its value from the output of ``radosgw-admin key
@@ -603,7 +603,7 @@ don't replace the port, it will default to port ``80``.
 
 For example::
 
- swift -A http://10.19.143.116:7480/auth/1.0 -U testuser:swift -K '244+fz2gSqoHwR3lYtSbIyomyPHf3i7rgSJrF/IA' list
+ swift -V 1 -A http://10.19.143.116:7480/auth -U testuser:swift -K '244+fz2gSqoHwR3lYtSbIyomyPHf3i7rgSJrF/IA' list
 
 The output should be::