keystoneauth plugin for Rackspace's authentication service
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rackspaceauth-0.5.0.tar.gz
(10.8 kB
view hashes)
Built Distribution
Close
Hashes for rackspaceauth-0.5.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3ff178e0f6b2da6659f109b3a232e20cf3bc211bad928001a6837ffd77e9dbb |
|
MD5 | e4c24972cd3dd8bb3c28f49c254318c5 |
|
BLAKE2b-256 | c9cbf17f2682eba24bf080b92fe1229af7d40bd29540a5264bd27142d59bbc20 |