Client Library for OpenStack Identity
Project description
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.
PyPi - package installation
Launchpad project - release management
Blueprints - feature specifications
Bugs - issue tracking
Python API
By way of a quick-start:
# use v2.0 auth with http://example.com:5000/v2.0 >>> from keystoneauth1.identity import v2 >>> from keystoneauth1 import session >>> from keystoneclient.v2_0 import client >>> auth = v2.Password(username=USERNAME, password=PASSWORD, tenant_name=TENANT, auth_url=AUTH_URL) >>> sess = session.Session(auth=auth) >>> keystone = client.Client(session=sess) >>> keystone.tenants.list() >>> tenant = keystone.tenants.create(tenant_name="test", description="My new tenant!", enabled=True) >>> tenant.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.1.0.tar.gz
(292.2 kB
view hashes)
Built Distribution
Close
Hashes for python-keystoneclient-3.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ddd7efe422981368c1e97c1358dd8dcadd114813d055e2a3ce3f081590a6624 |
|
MD5 | 3902fa7321ca1b16511125d328b0a990 |
|
BLAKE2b-256 | 459ede957806f2f04f195ebb6dda5e963335c1c2050d4c4ad1069e9695d0b67a |
Close
Hashes for python_keystoneclient-3.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ab06830fdb6e049817128d2972bf2b3b9c3d83bfd47a9bea6f8b75af5a6a4a5 |
|
MD5 | 7610385c2f90ddf802597fb1f7ba0420 |
|
BLAKE2b-256 | f50d846c484fb99f2dcb641349870cff34cb21095fb667eaf9405cc5969c2598 |