Code Monkey home page Code Monkey logo

Comments (1)

ncw avatar ncw commented on June 11, 2024

I haven't actually tried it myself with a vanilla openstack install, but I believe it works (at least that is what my users tell me). Here are some hints as to what should work - if you can get it going then I can put it into the docs.

I think you will need to set these in the swift.Connection object before calling Authenticate.

UserName       string            // UserName for api
ApiKey         string            // Key for api access
AuthUrl        string            // Auth URL
Tenant         string            // Name of the tenant (v2 auth only)

If you are using a recent openstack then you will want to use the v2 auth, so your auth url will end with /v2.0. This is the API address of the Keystone component in openstack.

That should be everything. You might want to set Internal also.

If you want to run the test suite then set the corresponding environment variables (see Testing in the README).

SWIFT_API_USER
SWIFT_API_KEY
SWIFT_AUTH_URL
SWIFT_TENANT 

Let me know how you get on and I'll update the docs with what you find.

from swift.

Related Issues (20)

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.