Skip to main content
2025 Python Packaging Survey is now live!  Take the survey now

Auth middleware for swift and herodote

Project description

# About

Swift auth middleware for herodote (python3 only)

# 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

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page