Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rackspaceauth

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rackspaceauth

keystoneauth plugin for Rackspace's authentication service

  • 0.8.1
  • PyPI
  • Socket score

Maintainers
1

keystoneauth plugin for Rackspace authentication

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

This package provides plugins to keystoneauth1 <https://pypi.python.org/pypi/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 <https://mycloud.rackspace.com/>_. ::

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 <https://docs.openstack.org/developer/os-client-config/#config-files>_ 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

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc