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

This version

5.4.0

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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: python-keystoneclient-5.4.0.tar.gz
  • Upload date:
  • Size: 324.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.7

File hashes

Hashes for python-keystoneclient-5.4.0.tar.gz
Algorithm Hash digest
SHA256 b2b4bdbe9daf7b0b353b8807672eeed01f87dd03b4f8b42d0d061b09b8931f41
MD5 979afb64a510d34186fe606fd9df19d1
BLAKE2b-256 106716b204d96216c57606b352388283fb743e09d85560860ca666baf4876210

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for python_keystoneclient-5.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9918043849032f387a0000104c553aac5ace02918a6b7afcdb99690164029867
MD5 43659a6af9d640e4db94e5ae46ef1b86
BLAKE2b-256 22d4ed2d06aff0a9e8405d3774617f93c45e1a6775dee71303c8835c7deab7b5

See more details on using hashes here.

Provenance

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