OpenStack Identity (Keystone) Client
Go to file
Samuel de Medeiros Queiroz 34d99f0c09 Add support for endpoint group CRUD
The following API calls are made available:

- POST /OS-EP-FILTER/endpoint_groups
- GET /OS-EP-FILTER/endpoint_groups/{endpoint_group_id}
- HEAD /OS-EP-FILTER/endpoint_groups/{endpoint_group_id}
- PATCH /OS-EP-FILTER/endpoint_groups/{endpoint_group_id}
- DELETE /OS-EP-FILTER/endpoint_groups/{endpoint_group_id}
- GET /OS-EP-FILTER/endpoint_groups

Partial-Bug: #1641674

Change-Id: I285eefe82152b178268f671e8800a0ff8c1511e4
2017-02-11 12:38:37 +00:00
doc Support domain-specific configuration management 2016-11-02 17:03:41 +00:00
examples/pki Remove keystoneclient.middleware 2015-12-11 02:00:30 -05:00
keystoneclient Add support for endpoint group CRUD 2017-02-11 12:38:37 +00:00
releasenotes Merge "Pass allow_expired to token validate" 2016-11-29 23:02:41 +00:00
tools Add Constraints support 2016-12-21 12:59:13 +11:00
.coveragerc Updated coverage configuration file 2016-10-19 12:38:55 +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
README.rst Show team and repo badges on README 2016-11-25 16:40:00 +01:00
babel.cfg enabling i18n with Babel 2012-09-29 16:03:23 -07:00
bindep.txt Move other-requirements.txt to bindep.txt 2016-08-12 21:14:07 +02:00
requirements.txt Updated from global requirements 2016-12-15 03:55:06 +00:00
setup.cfg Add Python 3.5 classifier 2016-08-05 16:25:02 +08:00
setup.py Updated from global requirements 2015-09-17 12:16:43 +00:00
test-requirements.txt Updated from global requirements 2016-11-02 15:40:12 +00:00
tox.ini Add Constraints support 2016-12-21 12:59:13 +11:00

README.rst

Team and repository tags

image

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:

>>> from keystoneauth1.identity import v3
>>> from keystoneauth1 import session
>>> from keystoneclient.v3 import client
>>> auth = v3.Password(auth_url="http://example.com:5000/v3", username="admin",
...                     password="password", project_name="admin",
...                     user_domain_id="default", project_domain_id="default")
>>> sess = session.Session(auth=auth)
>>> keystone = client.Client(session=sess)
>>> keystone.projects.list()
    [...]
>>> project = keystone.projects.create(name="test", description="My new Project!", domain="default", enabled=True)
>>> project.delete()