Skip to main content

Client Library for OpenStack Identity

Project description

https://governance.openstack.org/tc/badges/python-keystoneclient.svg

Python bindings to the OpenStack Identity API (Keystone)

Latest Version

This is a client for the OpenStack Identity API, implemented by the Keystone team; it contains a Python API (the keystoneclient module) for OpenStack’s Identity Service. For command line interface support, use OpenStackClient.

Python API

By way of a quick-start:

>>> from keystoneauth1.identity import v3
>>> from keystoneauth1 import session
>>> from keystoneclient.v3 import client
>>> auth = v3.Password(auth_url="http://example.com:5000/v3", username="admin",
...                     password="password", project_name="admin",
...                     user_domain_id="default", project_domain_id="default")
>>> sess = session.Session(auth=auth)
>>> keystone = client.Client(session=sess)
>>> keystone.projects.list()
    [...]
>>> project = keystone.projects.create(name="test", description="My new Project!", domain="default", enabled=True)
>>> project.delete()

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

python-keystoneclient-3.22.0.tar.gz (316.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_keystoneclient-3.22.0-py2.py3-none-any.whl (397.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file python-keystoneclient-3.22.0.tar.gz.

File metadata

  • Download URL: python-keystoneclient-3.22.0.tar.gz
  • Upload date:
  • Size: 316.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.5.2

File hashes

Hashes for python-keystoneclient-3.22.0.tar.gz
Algorithm Hash digest
SHA256 6e2b6d2a5ae5d7aa26d4e52d1c682e08417d2c5d73ccc54cb65c54903a868cb4
MD5 13f9971442a908b7759f3e8477eb6f5c
BLAKE2b-256 f8f6c54a3e0ce02dac89f23b35ef73f17f803dda02051030f95b2cfa77a9b134

See more details on using hashes here.

File details

Details for the file python_keystoneclient-3.22.0-py2.py3-none-any.whl.

File metadata

  • Download URL: python_keystoneclient-3.22.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 397.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.5.2

File hashes

Hashes for python_keystoneclient-3.22.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b9f9e74219a44be7c9955c836ab9a7ae16bde7325db6db15b6e5fe140c11bc3a
MD5 a3b6e513e5ee28f3ddf96f0c96a5ff5a
BLAKE2b-256 b2f4871eb251ea31e5923961a51f730def9553f7d63a74d6e10827c7a346501a

See more details on using hashes here.

Supported by

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