Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

herodote_auth-0.0.1.dev19-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file herodote_auth-0.0.1.dev19-py3-none-any.whl.

File metadata

  • Download URL: herodote_auth-0.0.1.dev19-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.1.3 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1

File hashes

Hashes for herodote_auth-0.0.1.dev19-py3-none-any.whl
Algorithm Hash digest
SHA256 a940456c338bef9cf429ab25346eb4b7baaf03b68b86f87221aa84115e5a44f3
MD5 18f9768049da25a3f2127f59f9effe65
BLAKE2b-256 194d376ba0effa538e2d2e4530aa2f628c80b6a71d9d4422f8bda387021c7363

See more details on using hashes here.

Supported by

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