OpenStack Identity (Keystone) Client
Go to file
Dave Chen 46e449c2ba Put py34 first in the env order of tox
To solve the problem of "db type could not be determined" on py34 we
have to run first the py34 env to, then, run py27. This patch puts py34
first on the tox.ini list of envs to avoid this problem to happen.

Change-Id: I0cc290e9fc13c8d61d933fe4b457008df0a29c5a
Closes-Bug: #1489059
2015-12-03 11:53:57 +08:00
doc Map keystoneclient exceptions to keystoneauth 2015-11-19 13:35:18 +11:00
examples/pki Revert "Remove keystoneclient.middleware" 2015-05-21 12:41:06 -05:00
keystoneclient Remove hardcoded endpoint filter for update password 2015-11-30 20:08:51 +00:00
python-keystoneclient/locale Move pot file for traslation 2015-09-10 11:04:33 -05:00
releasenotes Add release notes for keystoneclient 2015-11-29 20:02:58 -05:00
tools Use oslo_debug_helper and remove our own version 2014-10-22 15:22:18 -04:00
.coveragerc Change ignore-errors to ignore_errors 2015-09-21 14:53:26 +00:00
.gitignore Add release notes for keystoneclient 2015-11-29 20:02:58 -05:00
.gitreview Added in common test, venv and gitreview stuff. 2011-12-22 00:12:22 +00:00
.mailmap Add mailmap entry 2014-05-07 12:12:43 -07:00
.testr.conf Create functional test base 2015-02-13 17:55:34 +11:00
CONTRIBUTING.rst Workflow documentation is now in infra-manual 2015-02-05 17:56:32 +00:00
HACKING.rst Make HACKING.rst DRYer and turn into rst file 2013-11-11 11:05:00 -08:00
LICENSE Initial commit. 2011-10-25 16:50:08 -07:00
MANIFEST.in Migrate to pbr. 2013-05-17 14:43:31 -07:00
README.rst Add shields.io version/downloads links/badges into README.rst 2015-09-25 00:13:51 -04:00
babel.cfg enabling i18n with Babel 2012-09-29 16:03:23 -07:00
bandit.yaml tox env for Bandit 2015-06-03 21:01:18 -05:00
openstack-common.conf Use oslo.utils and oslo.serialization 2014-10-15 04:25:50 +00:00
requirements.txt Updated from global requirements 2015-11-27 22:41:58 +00:00
run_tests.sh Create functional test base 2015-02-13 17:55:34 +11:00
setup.cfg Removes py26 support 2015-11-25 00:23:17 +00:00
setup.py Updated from global requirements 2015-09-17 12:16:43 +00:00
test-requirements.txt Add release notes for keystoneclient 2015-11-29 20:02:58 -05:00
tox.ini Put py34 first in the env order of tox 2015-12-03 11:53:57 +08:00

README.rst

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.

Contents:

Python API

By way of a quick-start:

# use v2.0 auth with http://example.com:5000/v2.0
>>> from keystoneclient.v2_0 import client
>>> keystone = client.Client(username=USERNAME, password=PASSWORD, tenant_name=TENANT, auth_url=AUTH_URL)
>>> keystone.tenants.list()
>>> tenant = keystone.tenants.create(tenant_name="test", description="My new tenant!", enabled=True)
>>> tenant.delete()