# 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.

this page last updated: 2026-01-20 19:16:52

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.

found an error? report a bug