Skip to content

Swift3 Middleware for OpenStack Swift, allowing access to OpenStack swift via the Amazon S3 API.

License

Notifications You must be signed in to change notification settings

bloodeagle40234/swift3

This branch is 14 commits ahead of, 3 commits behind fujita/swift3:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a4a6d39 · Apr 7, 2014

History

68 Commits
Mar 25, 2014
Apr 7, 2014
Mar 27, 2014
Mar 22, 2014
May 21, 2012
Oct 15, 2012
May 21, 2012
May 21, 2012
Feb 7, 2013
Mar 26, 2014
Mar 26, 2014
Mar 26, 2014

Repository files navigation

Swift3

Swift3 Middleware for OpenStack Swift, allowing access to OpenStack swift via the Amazon S3 API.

Install

  1. Install Swift3 with sudo python setup.py install or sudo python setup.py develop or via whatever packaging system you may be using.

  2. Alter your proxy-server.conf pipeline to have swift3:

If you use tempauth:

Was::

    [pipeline:main]
    pipeline = catch_errors cache tempauth proxy-server

Change To::

    [pipeline:main]
    pipeline = catch_errors cache swift3 tempauth proxy-server

If you use keystone:

Was::

    [pipeline:main]
    pipeline = catch_errors cache authtoken keystone proxy-server

Change To::

    [pipeline:main]
    pipeline = catch_errors cache swift3 s3token authtoken keystone proxy-server
  1. Add to your proxy-server.conf the section for the Swift3 WSGI filter::

    [filter:swift3] use = egg:swift3#swift3

You also need to add the following if you use keystone (adjust port, host, protocol configurations for your environment):

[filter:s3token]
paste.filter_factory = keystone.middleware.s3_token:filter_factory
auth_port = 35357
auth_host = 127.0.0.1
auth_protocol = http

About

Swift3 Middleware for OpenStack Swift, allowing access to OpenStack swift via the Amazon S3 API.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.8%
  • Shell 0.2%