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.0.1

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

Uploaded Source

Built Distribution

python_keystoneclient-5.0.1-py3-none-any.whl (398.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: python-keystoneclient-5.0.1.tar.gz
  • Upload date:
  • Size: 325.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for python-keystoneclient-5.0.1.tar.gz
Algorithm Hash digest
SHA256 a8bbf671f56c24aa5a37a225b98f2994b82063d73e3486657eb500a33a406d29
MD5 09cf12023bdd10b1c906db9017eecb80
BLAKE2b-256 a0dd81d3d89231a09445e4b2a13a374aeed8f3abb82ff7c0ecb5da87bebb6790

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_keystoneclient-5.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 628d52a9676be1f9a00fd987b7b2b72fe66ddae853351606d7e85d8701d5fdc2
MD5 1db487dcd779e6d9d77c6cfdd2af70eb
BLAKE2b-256 a83b0cabae3d86040e0688bbe29c6590a6b44a70c87bc2fde457a43afe0e902b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page