Skip to content

virgo-agent-toolkit/luvit-keystone-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Luvit Bindings to the Openstack Keystone API

This is a client library for the Openstack Keystone API. It is not feature complete... yet.

Example

local KeystoneClient = require('keystone').Client
local authUrl = 'https://identity.api.rackspacecloud.com/v2.0'
local options = {
  username = 'userId',
  apikey = 'apikey'
}
local client = KeystoneClient:new(authUrl, options)
client:tenantIdAndToken('cloudMonitoring', function(err, obj)
  if err then
    p(err)
    return
  end
  p(obj.token)
  p(obj.expires)
  p(obj.tenantId)
end)

Features

  • Token Support
  • Tenant ID Support

Options

  • username [required] - 'String'
  • password [optional] - 'String'
  • apikey [optional] - 'String'

One of password or apikey is required

TODO:

  • Everything else

License

Apache 2.0

Contributors

  • Ryan Phillips (rphillips)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages