Usage

To use Identity service in OpenStack SDK, user should create one cloud object first which could be used to create the Identity service.

Example code:

from istack.cloud import Cloud
conn_args = {
    'api_url' : 'http://10.200.43.31:5000/v2.0',
    'username': 'admin',
    'password': 'inesa2014',
    'project_name' : 'admin',
}
cloud = Cloud(**conn_args)
for user in cloud.identity.users():
    print user

results matching ""

    No results matching ""