The keystone.middleware.s3_token Module

S3 TOKEN MIDDLEWARE

This WSGI component:

  • Get a request from the swift3 middleware with an S3 Authorization access key.
  • Validate s3 token in Keystone.
  • Transform the account name to AUTH_%(tenant_name).
class keystone.middleware.s3_token.S3Token(app, conf)

Bases: object

Auth Middleware that handles S3 authenticating client calls.

deny_request(code)
exception keystone.middleware.s3_token.ServiceError

Bases: exceptions.Exception

keystone.middleware.s3_token.filter_factory(global_conf, **local_conf)

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

Previous topic

The keystone.middleware.ec2_token Module

Next topic

The keystone.openstack.common.gettextutils Module

This Page