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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: python-keystoneclient-4.0.0.tar.gz
  • Upload date:
  • Size: 313.9 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.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.5.2

File hashes

Hashes for python-keystoneclient-4.0.0.tar.gz
Algorithm Hash digest
SHA256 6d93efd494b43d8b4cd8a62281c82d3f02aa531c5523e6bbe7d696e37bc77ba8
MD5 5a222b8972006d96b4f7977a15fc950d
BLAKE2b-256 c9ec5cce3af48ac2bd891e1ff7dcaffa2d7322b4438f2324fc3c1d0125c6cd10

See more details on using hashes here.

File details

Details for the file python_keystoneclient-4.0.0-py3-none-any.whl.

File metadata

  • Download URL: python_keystoneclient-4.0.0-py3-none-any.whl
  • Upload date:
  • Size: 397.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.5.2

File hashes

Hashes for python_keystoneclient-4.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b081a330eab0aa7c00e2b723410bf26cb8b5e52d3671768846f6c1b4bf71acea
MD5 3e1c7b2ea59dc60cf4583f6acdcf4a55
BLAKE2b-256 927a95722507a75904d8af0162faa86c4bae9488ade27a0f27228c12f3125e8a

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