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

Uploaded Source

Built Distribution

python_keystoneclient-5.5.0-py3-none-any.whl (397.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: python-keystoneclient-5.5.0.tar.gz
  • Upload date:
  • Size: 324.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for python-keystoneclient-5.5.0.tar.gz
Algorithm Hash digest
SHA256 c2f5934f95576936c98e45bf599ad48bcb0ac451593e5f8344ebf52cb0f411f5
MD5 a3a8ced9ae50dc3b2990231c37f3e228
BLAKE2b-256 ea5e2d6700c6e36c288ec7e6d24ad49ef400311e8d2b2d926b16906f12c1cb26

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_keystoneclient-5.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 52fe7eb35c7345387c2488eb0b95f28a1d73edcad1ac3d8d80cf8ce6a7c9a8ee
MD5 ffaaf57a1ea65edddff0ae3a874a69db
BLAKE2b-256 06d0187c168e0663b4849cb2f2ce288d91e95e4cf63e4e53a32315f9f6f1ea65

See more details on using hashes here.

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