dwith / rackspace-keystoneauth-plugin

keystoneauth plugin for Rackspace's authentication service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

keystoneauth plugin for Rackspace authentication

This package provides plugins to keystoneauth1, the OpenStack Keystone authentication library, for Rackspace's supported authentication methods: API key, password, and token.

Usage

The following example authenticates Mayor McCheese with his API key, as found in his control panel.

from rackspaceauth import v2
from keystoneauth1 import session

auth = v2.APIKey(username="Mayor McCheese",
                 api_key="OMGCHEESEISGREAT")

sess = session.Session(auth=auth)
sess.get_token()

About

keystoneauth plugin for Rackspace's authentication service

License:Apache License 2.0


Languages

Language:Python 100.0%