Build open standard audit information based on incoming requests
AuditMiddleware filter should be placed after keystonemiddleware.auth_token in the pipeline so that it can utilise the information the Identity server provides.
Bases: object
Create an audit event based on request/response.
The audit middleware takes in various configuration options such as the ability to skip audit of certain requests. The full list of options can be discovered here: http://docs.openstack.org/developer/keystonemiddleware/audit.html
Returns a WSGI filter app for use with paste.deploy.
Token-based Authentication Middleware
This WSGI component:
Refer to: http://docs.openstack.org/developer/keystonemiddleware/middlewarearchitecture.html
Run this module directly to start a protected echo service on port 8000:
$ python -m keystonemiddleware.auth_token
When the auth_token module authenticates a request, the echo service will respond with all the environment variables presented to it by this module.
The auth_token middleware uses headers sent in by the client on the request and sets headers and environment variables for the downstream WSGI component.
When using composite authentication (a user and service token are present) additional service headers relating to the service user will be added. They take the same form as the standard headers but add ‘_SERVICE_’. These headers will not exist in the environment if no service token is present.
json encoded service catalog (optional). For compatibility reasons this catalog will always be in the V2 catalog format even if it is a v3 token.
These variables are set in the request environment for use by the downstream WSGI component.
Bases: object
Middleware that handles authenticating client calls.
Bases: exceptions.Exception
Bases: exceptions.Exception
Bases: exceptions.Exception
Returns a WSGI filter app for use with paste.deploy.
Starting point for routing EC2 requests.
Bases: object
Authenticate an EC2 request with keystone and convert to token.
Returns a WSGI filter app for use with paste.deploy.
oslo.i18n integration module.
See http://docs.openstack.org/developer/oslo.i18n/usage.html .
Return a list of oslo.config options available in auth_token middleware.
The returned list includes all oslo.config options which may be registered at runtime by the project.
Each element of the list is a tuple. The first element is the name of the group under which the list of elements in the second element will be registered. A group name of None corresponds to the [DEFAULT] group in config files.
This function is also discoverable via the entry point ‘keystonemiddleware.auth_token’ under the ‘oslo.config.opts’ namespace.
The purpose of this is to allow tools like the Oslo sample config file generator to discover the options exposed to users by this middleware.
Returns: | a list of (group_name, opts) tuples |
---|
S3 Token Middleware
This WSGI component:
Bases: object
Middleware that handles S3 authentication.
Bases: exceptions.Exception
Returns a WSGI filter app for use with paste.deploy.