Auth middleware for swift and herodote
Project description
# About
Swift auth middleware for herodote
Python 2 support only as Openstack Swift does not support Python3 yet.
# Install
pip install -r requirements.txt python setup.py install
# Setup
In proxy-server.conf, add herodote-auth filter in pipeline
pipeline = catch_errors gatekeeper healthcheck proxy-logging cache container_sync bulk tempurl ratelimit crossdomain swift3 herodoteauth authtoken keystoneauth
And add filter section:
[filter:herodoteauth] use = egg:herodote-auth#herodote_auth # Secret to decode swift tokens (secrets.swift section of herodote config) secret = aSharedSecretWithHerodote herodote_url = https://myHerodoteServer # Token defined in herodote to allow remote triggering (openstack.swift.tokens section) token=myherodotetoken
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for herodote_auth-0.0.1.dev19-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a940456c338bef9cf429ab25346eb4b7baaf03b68b86f87221aa84115e5a44f3 |
|
MD5 | 18f9768049da25a3f2127f59f9effe65 |
|
BLAKE2b-256 | 194d376ba0effa538e2d2e4530aa2f628c80b6a71d9d4422f8bda387021c7363 |