Skip to main content

keystoneauth plugin for Rackspace's authentication service

Project description

https://travis-ci.org/rackerlabs/python-rackspace-auth.svg

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


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.7.0.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

rackspaceauth-0.7.0-py2.py3-none-any.whl (9.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file rackspaceauth-0.7.0.tar.gz.

File metadata

File hashes

Hashes for rackspaceauth-0.7.0.tar.gz
Algorithm Hash digest
SHA256 0c70973553a1d8f399fb692550e4bfec6305ffed9a025be0ce4ab523ca871bc4
MD5 0c7f9a9fabf832a178db2326e5b2ab27
BLAKE2b-256 7d9919be963baa2663ffb0622637279bd8b9fbf1aedc4565cbdb22d2851a34c8

See more details on using hashes here.

Provenance

File details

Details for the file rackspaceauth-0.7.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for rackspaceauth-0.7.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 cd12f48e933364a0abcc1ad671f6e6889336aedac8654794de73bb003bac8c21
MD5 5416db3a0f1f555e3722819dd1d6257a
BLAKE2b-256 4578819ba4c66f1c897ff91dd5f3e6d5f4f3dabce884af6a34a782caa5c4d563

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page