Go to file
Vu Cong Tuan e29067486a Switch to stestr
According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
Let's switch to stestr as other projects have already moved to it.

[1] https://etherpad.openstack.org/p/YVR-python-pti

Change-Id: I6484b605b1a7b8bcc4589170d2645f7cb0ca66f6
2018-07-11 09:59:08 +07:00
2018-03-15 07:58:00 +00:00
2018-07-11 09:59:08 +07:00
2014-05-07 12:12:43 -07:00
2018-07-11 09:59:08 +07:00
2018-04-09 10:26:11 -04: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-07 22:38:41 +08:00
2017-03-22 22:27:35 +00:00
2018-07-11 09:59:08 +07:00
2018-07-11 09:59:08 +07:00

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%