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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file python_keystoneclient-5.6.0.tar.gz.

File metadata

  • Download URL: python_keystoneclient-5.6.0.tar.gz
  • Upload date:
  • Size: 322.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.9

File hashes

Hashes for python_keystoneclient-5.6.0.tar.gz
Algorithm Hash digest
SHA256 721de2aec7710076389c674ee27b6712e97d86c7e0ff487b0b4409c8fcee10e7
MD5 fd5336428ed27a1413365c662cdce9c9
BLAKE2b-256 91d9e6b430abdd77caccfc0f47005f7ff2125d143b16bd6f9aaa46ceaac75b90

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_keystoneclient-5.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 86d5f615dac5b64797334c54a0440451aff11bea19328501df32e87385290702
MD5 203bd7a3b8914a97fc960fa194d7ef11
BLAKE2b-256 2dac29037649a0f25efeb218ff026e6284e1fa1bb8a218ba30e0e3aa34f22b8c

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