A qucik written and simple Node.js HTTP server providing standard OpenStack Swift authentication for hubiC by OVH
This script is written for my personal usage, is unofficial and consequently not maintained by OVH.
This script provides a simple Node.js HTTP server responding to a standard OpenStack Swift authentication request (v1.0) using the hubic OAuth API. Tested with Swift CLI and Cyberduck.
Create a hubiC application on hubic.com (My account > Your applications).
Launch the script:
$ export APP_KEY=api_hubic_xxx$ export APP_SECRET=42$ export BASE_URL=$ node hubic-swiftauth.js
Now you can use the Swift v1 API using these credentials:Endpoint:User: hubicPassword: my-tokenExample if you use the swift cli client:$ swift -A -U hubic -K xxxxxxxxxxxxx