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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rackspaceauth-0.8.1.tar.gz.
File metadata
- Download URL: rackspaceauth-0.8.1.tar.gz
- Upload date:
- Size: 11.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf33fa32f7e0762374c19c7a0e324d74f942d31bc7452c11ba4a58b85dff653f
|
|
| MD5 |
c13498360204dfcb13b21530d760b938
|
|
| BLAKE2b-256 |
5a55fabd87d27ad047ef4b020b64e132e5a2d8717ba6bb5ecf983e669afbc1c9
|
File details
Details for the file rackspaceauth-0.8.1-py2.py3-none-any.whl.
File metadata
- Download URL: rackspaceauth-0.8.1-py2.py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef348c3d2bf7bd035957b963667eabe3ebcf10655c53279f88e828b011118daa
|
|
| MD5 |
c377b96b9e6d341569dc573b58799806
|
|
| BLAKE2b-256 |
e1e173672dc471b996c879df45923cf158ec590aa086d7e0b240eb5a91de922f
|