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

Uploaded Source

Built Distribution

python_keystoneclient-3.19.1-py2.py3-none-any.whl (394.6 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: python-keystoneclient-3.19.1.tar.gz
  • Upload date:
  • Size: 315.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.5.2

File hashes

Hashes for python-keystoneclient-3.19.1.tar.gz
Algorithm Hash digest
SHA256 c3c91d7f4b8e04c09ad983407c325df100b56e950d099a8ef4babd6df2d387c8
MD5 665649da5ab63ce1a9a13ee3ad8787e2
BLAKE2b-256 a9b39d61eb52b3ef61751eb1728f0da48fd0ecc3297c44bed51fd22962782b6c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for python_keystoneclient-3.19.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ef925fd5e7c4be5bf6a66581f766887c3811e24fe24c558fafacb49b0cb6a2f4
MD5 bd74b287d32e84fffd6e8d4e866ab861
BLAKE2b-256 e9f4298b874e40cc17b734f7cd57a70c6e86ec4b2dd03f458b75579e215c0f83

See more details on using hashes here.

Supported by

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