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.5.0.tar.gz (325.1 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-4.5.0-py3-none-any.whl (398.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: python-keystoneclient-4.5.0.tar.gz
  • Upload date:
  • Size: 325.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.13

File hashes

Hashes for python-keystoneclient-4.5.0.tar.gz
Algorithm Hash digest
SHA256 6d7f05c692e7db2692778284c779ae6cea8b2159914b4417a5fa0bfea1e29cdc
MD5 7576113a899d070e4a0b6af9e0f79ce2
BLAKE2b-256 86a15970cc4b1a0104d13093d45131558d477790e8667fc0f8dca49154bbfb32

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_keystoneclient-4.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5bad91bda4f6f5658e1e03daa2f19f4cdc6c1f1b611afacca9ca1a3ace2ab99a
MD5 b68f4215db58016f6ace783d87db8a11
BLAKE2b-256 0f510fa8581d645b6123c7273dc7a6db77ff01fd2356a2f09aaedd9ce639e761

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