rackspaceauth 0.8.1

Last updated:

0 purchases

rackspaceauth 0.8.1 Image
rackspaceauth 0.8.1 Images
Add to Cart

Description:

rackspaceauth 0.8.1

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()
To use in a
clouds.yaml
file, for use with shade, ansible, os-client-config, and other tools, one might
add a section like this:
clouds:
rackspace-iad
profile: rackspace
auth:
username: mayor-mccheese
api_key: OMGCHEESEISGREAT
auth_type: rackspace_apikey
region_name: IAD

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.