Update swift3 docs for auth changes

This commit is contained in:
FUJITA Tomonori
2011-01-19 04:46:42 +00:00
committed by Tarmac

View File

@@ -32,8 +32,8 @@ To add this middleware to your configuration, add the swift3 middleware
in front of the auth middleware, and before any other middleware that in front of the auth middleware, and before any other middleware that
look at swift requests (like rate limiting). look at swift requests (like rate limiting).
To set up your client, the access key will be the account string that To set up your client, the access key will be the concatenation of the
should look like AUTH_d305e9dbedbc47df8b25ab46f3152f81, and the account and user strings that should look like test:tester, and the
secret access key is the account password. The host should also point secret access key is the account password. The host should also point
to the swift storage hostname. It also will have to use the old style to the swift storage hostname. It also will have to use the old style
calling format, and not the hostname based container format. calling format, and not the hostname based container format.
@@ -42,7 +42,7 @@ An example client using the python boto library might look like the
following for an SAIO setup:: following for an SAIO setup::
connection = boto.s3.Connection( connection = boto.s3.Connection(
aws_access_key_id='AUTH_d305e9dbedbc47df8b25ab46f3152f81', aws_access_key_id='test:tester',
aws_secret_access_key='testing', aws_secret_access_key='testing',
port=8080, port=8080,
host='127.0.0.1', host='127.0.0.1',