a5b2b213109c0d74e46f7a6dc15c703eb533396c
				
			
			
		
	 Nisha Yadav
		
	
	a5b2b21310
	
	
	Improve docs for v3 regions
			Nisha Yadav
		
	
	a5b2b21310
	
	
	Improve docs for v3 regions
		
			
			In preparation to add functional tests for v3 regions, this change proposes to detail the method docs, because the tests need to be based on them. Change-Id: I8d2169608d4acdc95116f49ea45cb6a15ba3b6e3 Partial-Bug: #1330769
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:
>>> 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
				
					Languages
				
				
								
								
									Python
								
								100%