swift-upload-runner makes it possible to properly batch upload from browser
into object storage backends using Openstack Swift API. It will also make possible
proper container uploads without plaintext passwords or tokens, to prevent
token expiration.
Additionally, the runner contains functionality for downloading whole containers as an archive without intermediary storage, as well as proxying downloads from shared containers, i.e. containers where the project has access via an ACL entry.
pip install .
The service requires following environment variables:
OS_AUTH_URLfor openstack authentication URLSWIFT_UI_API_AUTH_TOKENSfor accepted API keys
The following environment variables are optional:
SWIFT_UPLOAD_RUNNER_PORTfor the port on which the server runsSWIFT_UPLOAD_RUNNER_PROXY_Q_SIZEfor buffered chunk amountSWIFT_UPLOAD_RUNNER_MAX_SESSION_CONNECTIONSfor max connections per session
By default the service runs on port 9092 and can be invoked with the command
swift-upload-runner