OpenStack Identity (Keystone) Client
Go to file
Roxana Gherle d3b11d674d Change default endpoint for Keystone v3 to public
All of the other Openstack services have a 'public' default endpoint
type. Keystone has 'admin' default endpoint type. Why not make
Keystone compliant and change the default for Keystone v3 from 'admin'
to 'public'. Keystone v2 will remain the same with an 'admin' default.

Closes-Bug: #1457702
Change-Id: I515438477dba72c2a0c4595603000690511b5700
2015-12-23 16:37:44 +00: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 Change default endpoint for Keystone v3 to public 2015-12-23 16:37:44 +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 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 Removes discover from test-reqs 2015-11-25 04:56:15 +08:00
tox.ini Removes py26 support 2015-11-25 00:23:17 +00: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()