OpenStack Identity (Keystone) Client
Go to file
Monty Taylor 13bb2f74b0 Swap the order of username deprecation
The attempt at a move to user-name is an exercise in churn, and is
filling everyone's logs with admonitions to change the name of their
variables - which does not work if they do. Swap this, effectively
reverting the attempt at a move. user-name will continue to work on
the off chance anyone started consuming that path, which is unlikely
because none of the consuming programs expose that as an actual option.

Closes-Bug: 1498247

Change-Id: I62d991fda1df63c9cbabfde2f6836bc031f5147c
2015-11-19 15:48:28 +00:00
doc Add missing end single quote 2015-11-11 21:18:29 +09:00
examples/pki Revert "Remove keystoneclient.middleware" 2015-05-21 12:41:06 -05:00
keystoneclient Swap the order of username deprecation 2015-11-19 15:48:28 +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-11 16:20: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 Updated from global requirements 2015-11-11 16:20:11 +00: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()