keystonemiddleware.s3_token module

S3 Token Middleware.

This WSGI component:

  • Gets a request from the swift3 middleware with an S3 Authorization access key.

  • Validates s3 token in Keystone.

  • Transforms the account name to AUTH_%(tenant_name).

class keystonemiddleware.s3_token.S3Token(app, conf)

Bases: object

Middleware that handles S3 authentication.

exception keystonemiddleware.s3_token.ServiceError

Bases: Exception

keystonemiddleware.s3_token.filter_factory(global_conf, **local_conf)

Return a WSGI filter app for use with paste.deploy.