Skip to main content

Auth middleware for swift and herodote

Project description

# About

Swift auth middleware for herodote

To be tested on python3 (swift was python2 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

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.dev20-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: herodote_auth-0.0.1.dev20-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.dev20-py3-none-any.whl
Algorithm Hash digest
SHA256 b0ac0b34719bfad3348aae5ec3e22180ec7060f8aea91bb4e2726a5880ce46f9
MD5 53d1c2b4fca4fa6d672965e32a83b738
BLAKE2b-256 7718bee8a88dad1ed3f814d7d8e50e7a955ce18226ceedba7c1e8ca943bf4375

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