1d0cb6812bea8f72235db927c598633d6bf97162

In many situations it can be useful to see the full token response. Print v3 token response when in debug mode. This will allow the reponse to be seen when '--debug' is specified with the openstack CLI: { "token": { "methods": [ "password" ], "roles": [ { "id": "93bff41cabda4def87cc9d83aaaa7479" "name": "Member" }, . . . Change-Id: I9ec39ceed122a79bbaaef429750e1d2e8401297d Closes-bug: 1556977
Python bindings to the OpenStack Identity API (Keystone)
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.
- PyPi - package installation
- Online Documentation
- Launchpad project - release management
- Blueprints - feature specifications
- Bugs - issue tracking
- Source
- Specs
- How to Contribute
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()
Description
Languages
Python
100%