Usage - galkindmitrii/openstack_swift_s3 GitHub Wiki
When the installation is done it is only left to configure client to use Swift like it is S3. The access key will be the concatenation of the account and user, i.e. like test:tester
, the secrete key is the account password. The host should also point to the swift storage hostname and should use the old style calling format, not the hostname based container format.
Example connection configuration for python boto library is given below:
connection = boto.connect_s3( aws_access_key_id='b19cc2c874b44ae8af924d4071589462', aws_secret_access_key='893bb50659f647a790a079d458a54c55', port=8080, host='localhost', is_secure=False, calling_format=boto.s3.connection.OrdinaryCallingFormat())
Tested to work with Swift 1.4.8, however will work with any version of Swift with the same API.