docs: Fixed swift client authentication fail

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>
This commit is contained in:
Dai Dang Van 2018-08-24 16:54:06 +07:00
parent 9bef451aa7
commit 26e10fdf29

View 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::