Go to file
OpenDev Sysadmins ab14eb4fb4 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:43 +00:00
2019-02-28 14:11:38 +01:00
2018-07-11 09:59:08 +07:00
2019-04-19 19:39:43 +00:00
2014-05-07 12:12:43 -07:00
2018-07-11 09:59:08 +07:00
2019-04-19 19:39:43 +00:00
2012-09-29 16:03:23 -07:00
2011-10-25 16:50:08 -07:00
2018-07-11 09:59:08 +07:00
2018-06-28 09:38:47 +00:00
2019-03-01 11:35:16 +01:00
2017-03-22 22:27:35 +00:00
2019-01-04 00:46:27 +08:00
2019-04-09 15:03:54 +05:30

Team and repository tags

image

Python bindings to the OpenStack Identity API (Keystone)

Latest Version

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()
Description
OpenStack Identity (Keystone) Client
Readme 33 MiB
Languages
Python 100%