Skip to main content

Client Library for OpenStack Identity

Project description

http://governance.openstack.org/badges/python-keystoneclient.svg

Python bindings to the OpenStack Identity API (Keystone)

Latest Version Downloads

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

Uploaded Source

Built Distribution

python_keystoneclient-3.9.0-py2.py3-none-any.whl (369.4 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

File hashes

Hashes for python-keystoneclient-3.9.0.tar.gz
Algorithm Hash digest
SHA256 e5ad72c866f094a230e471c2e1149b1b4bb0eaaf2469a2c8fa45b005c1d93b3a
MD5 440b81fd188b2b697f96941c61bd1648
BLAKE2b-256 a66903a3121c0eb2017c44a41762e6c9671dc49006598f9502614f26563a158e

See more details on using hashes here.

Provenance

File details

Details for the file python_keystoneclient-3.9.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for python_keystoneclient-3.9.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 808b273573df7895d0fbcfe1eecf04af61353e565675dad43cb12afa9518c0d6
MD5 48a6af4172292f609f03cb4e326a8736
BLAKE2b-256 f9b8bcb02d7f75b14e386407ce2694a1f2efdc44cc6f1a89105c7aa9afd73bf9

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