Custom Search

Thursday, November 21, 2013

Openstack Keystone API V3 Python Keystoneclient Example

>>>
>>> from keystoneclient.v3 import client
>>>
>>> keystone = client.Client(token="tokentoken", endpoint="http://192.168.56.101:35357/v3")
>>>
>>> keystone.users.list()
>>>
>>> keystone.projects.list()
>>>
>>> keystone.domains.list()
>>>
>>> keystone.roles.list()
>>>

1 comment:

  1. http://docs.openstack.org/developer/python-keystoneclient/using-api.html

    http://api.openstack.org/api-ref-identity.html#Token_Calls

    ReplyDelete