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

Uploaded Source

Built Distribution

python_keystoneclient-5.2.0-py3-none-any.whl (397.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: python-keystoneclient-5.2.0.tar.gz
  • Upload date:
  • Size: 324.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for python-keystoneclient-5.2.0.tar.gz
Algorithm Hash digest
SHA256 72a42c3869e2128bb0c626ac856c3dbf3e38ef16d7e85dd35567b82cd24539a9
MD5 c10ddd58483fc3d713f4c39ea494ddb6
BLAKE2b-256 13c3456c3d3125a189adf7d23e7ca7759226d717fdce20c6c590686d03886897

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for python_keystoneclient-5.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 03293c2f5b96d32cfe04ab0d2d109c484dcd0f4d071a42543387efd129e9248e
MD5 1c4e86152c0c9b167e022a85122ea0e2
BLAKE2b-256 285ece530ac6b5859eaf882a02c29839641c566e0b9ed782d994620e6dffd958

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