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.7.0.tar.gz (322.4 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-5.7.0-py3-none-any.whl (397.2 kB view details)

Uploaded Python 3

File details

Details for the file python_keystoneclient-5.7.0.tar.gz.

File metadata

  • Download URL: python_keystoneclient-5.7.0.tar.gz
  • Upload date:
  • Size: 322.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.12

File hashes

Hashes for python_keystoneclient-5.7.0.tar.gz
Algorithm Hash digest
SHA256 8ce7bf1c8cddca6d7140fc76918b44eddf1d64040a60cb8ff7059136104d4ceb
MD5 339241b3faec097a99f5fb13f302794f
BLAKE2b-256 94293775d7a722924a72208753a8aa5ddb0a58de24f5a5dd287cc9a0f66038e4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_keystoneclient-5.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2ec19994ba8b8b16fe6cf4ac45c3f2180a22e203d1b3aa977a34a0160caae0b6
MD5 7fab215cec774cf7b619f42e446fb8b9
BLAKE2b-256 90d1eb39a6e544f5f789fd44c09274a8b1b08a86e3e7ac0e016d07ceb94c0b42

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