GithubHelp home page GithubHelp logo

dshkuratov / keystone-legacyv1-extension Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chmouel/keystone-legacyv1-extension

0.0 2.0 0.0 138 KB

An extension to keystone to expose auth v1 i.e: Swift/RAX-CF API

Python 100.00%

keystone-legacyv1-extension's Introduction

Author

Chmouel Boudjnah

Maintainer

Chmouel Boudjnah <[email protected]>

Issues

https://github.com/enovance/keystone-legacyv1-extension

Source Code

https://github.com/enovance/keystone-legacyv1-extension

License

Apache

Version

0.1

Keystone Legacyv1

An extension that allows to access keystone with v1 auth type (i.e: rackspace cloud files).

Setup

You need one recent keystone version as of 14 June 2013.

install the package by the way you install things on your system (be it puppet/packages/source checkin/etc..)

add this to your keystone.conf (before the [composite::main] stanza):

[filter:legacyv1]
paste.filter_factory = kslegacyv1:LegacyV1.factory

[pipeline:legacyv1]
pipeline = access_log sizelimit stats_monitoring url_normalize debug legacyv1 public_service

and add this to your [composite:main]:

/v1.0 = legacyv1

Usage

A auth will look like this:

-$ curl -i -H 'X-Auth-Key: password' -H 'X-Auth-User: admin:admin' http://keystone:5000/v1.0
HTTP/1.1 200 OK
X-Auth-Token: abc5f71626314741972e0dd0d7c68307
X-Storage-Token: abc5f71626314741972e0dd0d7c68307
X-Storage-Url: http://172.16.129.140:8080/v1/AUTH_53cb88355ea24a0ea79383ca80dbae4e
Vary: X-Auth-Token,X-Storage-Token,X-Storage-Url
Content-Type: text/xml
Content-Length: 0
Date: Sun, 24 Mar 2013 16:27:25 GMT

It should be easy to use cyberduck without any hack as long you configure your keystone under ssl or via a reverse proxy.

TESTS

  • Run them with (-w is needed here):

    nosetests -w tests -sx

keystone-legacyv1-extension's People

Contributors

chmouel avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.