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

4.2.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-4.2.0.tar.gz (324.7 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.2.0-py3-none-any.whl (397.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: python-keystoneclient-4.2.0.tar.gz
  • Upload date:
  • Size: 324.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.6

File hashes

Hashes for python-keystoneclient-4.2.0.tar.gz
Algorithm Hash digest
SHA256 0248426e483b95de395086482c077d48e45990d3b1a3e334b2ec8b2e108f5a8a
MD5 0a43c2daa33b0caf9d20d93a98c07d53
BLAKE2b-256 0d17aaaa6e508ca437360eb348486d6ac7cf17e434400acd222548361959b4bd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: python_keystoneclient-4.2.0-py3-none-any.whl
  • Upload date:
  • Size: 397.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.6

File hashes

Hashes for python_keystoneclient-4.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5702f387e2a3f3645459a0850ef3e92bc8fc0eb36bd2f8ba1004a50dfed1e5f4
MD5 c261415d9b829478adc5c967ea8992b2
BLAKE2b-256 2671a9ccf1faf72123909c87a06352366088a7f936ea04e5e4fe38e422dc2c1e

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