OpenStack Identity (Keystone) Client
Go to file
Dave Chen 655719d6c9 Removes discover from test-reqs
The discover package is part of Python 2.7, so we don't need
to explicitely require it. It's by the way annoying for
distribution package maintainers, as the file has to be
patched.

Keystone team has decided to drop python 2.6 support[1],
so, it's safe to remove it from test-requirements.txt.

[1] http://eavesdrop.openstack.org/meetings/keystone/2015/keystone.2015-11-24-17.59.html

Related-Bug: #1519449
Co-Authored-By: Thomas Goirand <thomas@goirand.fr>
Change-Id: I5bb258a4b305c0084be50bc22fe7a0e6a4f65aad
2015-11-25 04:56:15 +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 Merge "Map keystoneclient exceptions to keystoneauth" 2015-11-23 01:55:16 +00:00
python-keystoneclient/locale Move pot file for traslation 2015-09-10 11:04:33 -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 Fix auth_token middleware test invalid cross-device link issue 2014-01-07 14:24:07 +01: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-20 04:59:11 +00:00
run_tests.sh Create functional test base 2015-02-13 17:55:34 +11:00
setup.cfg Move pot file for traslation 2015-09-10 11:04:33 -05:00
setup.py Updated from global requirements 2015-09-17 12:16:43 +00:00
test-requirements.txt Removes discover from test-reqs 2015-11-25 04:56:15 +08:00
tox.ini Add docstring validation 2015-11-09 19:27:47 -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()