Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

hubic-swiftauth

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hubic-swiftauth

A qucik written and simple Node.js HTTP server providing standard OpenStack Swift authentication for hubiC by OVH

latest
Source
npmnpm
Version
0.2.0
Version published
Weekly downloads
1
-50%
Maintainers
1
Weekly downloads
 
Created
Source

Node hubiC Swift Authentication

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.

Usage

  • 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=https://example.com/
$ node hubic-swiftauth.js
  • Go on the base url your specified (here https://example.com/), log in using your hubiC credentials and you'll get this message:
Now you can use the Swift v1 API using these credentials:
	Endpoint: https://example.com/
	User: hubic
	Password: my-token

Example if you use the swift cli client:
	$ swift -A https://example.com/auth/v1.0 -U hubic -K xxxxxxxxxxxxx
  • You can now use these credentials until you revoke them.

FAQs

Package last updated on 04 Mar 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts