OpenStack Identity (Keystone) Client
Go to file
OpenDev Sysadmins cc13d5bde6 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:39:45 +00:00
doc Updated from global requirements 2018-02-13 01:59:48 +00:00
examples/pki Remove keystoneclient.middleware 2015-12-11 02:00:30 -05:00
keystoneclient Override find function in project 2018-01-26 22:57:25 +00:00
releasenotes Add CRUD support for application credentials 2018-01-23 10:09:45 +01: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 OpenDev Migration Patch 2019-04-19 19:39:45 +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
.zuul.yaml import zuul job settings from project-config 2018-08-29 16:07:37 -04:00
CONTRIBUTING.rst Use https for *.openstack.org references 2017-02-05 20:46:32 -08:00
HACKING.rst Update URLs in documents according to document migration 2017-07-14 09:56:01 +08:00
LICENSE Initial commit. 2011-10-25 16:50:08 -07:00
README.rst Update URLs in documents according to document migration 2017-07-14 09:56:01 +08:00
babel.cfg enabling i18n with Babel 2012-09-29 16:03:23 -07:00
bindep.txt Use https for *.openstack.org references 2017-02-05 20:46:32 -08:00
requirements.txt Updated from global requirements 2017-12-19 01:42:59 +00:00
setup.cfg Update URLs in documents according to document migration 2017-07-14 09:56:01 +08:00
setup.py Updated from global requirements 2017-03-22 22:27:35 +00:00
test-requirements.txt Updated from global requirements 2018-01-18 10:16:34 +00:00
tox.ini Update UPPER_CONSTRAINTS_FILE for stable/queens 2018-01-24 19:46:05 +00: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()