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
Release files for rackspaceauth 0.8.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rackspaceauth-0.8.1.tar.gz | 11.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rackspaceauth-0.8.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 20.8 kB
Release files / rackspaceauth-0.8.1.tar.gz
| Download URL | rackspaceauth-0.8.1.tar.gz |
|---|---|
| Size | 11.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cf33fa32f7e0762374c19c7a0e324d74f942d31bc7452c11ba4a58b85dff653f
|
|
BLAKE2b-256 checksum How to use checksums |
5a55fabd87d27ad047ef4b020b64e132e5a2d8717ba6bb5ecf983e669afbc1c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / rackspaceauth-0.8.1-py2.py3-none-any.whl
| Download URL | rackspaceauth-0.8.1-py2.py3-none-any.whl |
|---|---|
| Size | 9.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
ef348c3d2bf7bd035957b963667eabe3ebcf10655c53279f88e828b011118daa
|
|
BLAKE2b-256 checksum How to use checksums |
e1e173672dc471b996c879df45923cf158ec590aa086d7e0b240eb5a91de922f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |