Not sure about the insecure option, jamielennox would know immediately, but to answer your second question, yes please use sessions!
Lots of info on the developers docs about it: http://docs.openstack.org/developer/python-keystoneclient/using-sessions.html#sessions-for-users


Regards,

Steve Martinelli
Software Developer - Openstack
Keystone Core Member

Phone: 1-905-413-2851
E-mail:
steve...@ca.ibm.com
8200 Warden Ave
Markham, ON L6G 1C7
Canada





From:        Michael Hearn <mrhe...@gmail.com>
To:        "openstack@lists.openstack.org" <openstack@lists.openstack.org>,
Date:        07/25/2014 09:15 AM
Subject:        [Openstack] Keystone v3 API. How to handle insecure option




Release: Icehouse

Writing a script in python to interact with keystone using v3 API.

I'm aware that keystone api v2 offered the 'insecure' parameter as an option in the Client class but after a quick look at the v3 version of client.py this does not look to be the case anymore.

Is 'insecure' still a valid (but perhaps deprecated) input for kwargs in v3 e.g.

from keystoneclient.v3 import client
client.Client(username=user,
                   password=pass,
                    project_name=project,
                    auth_url=authurl,
                    insecure=False
                    )


or as hinted else where should I be looking to use a session object?  If so, anyone have an example?

Thanks
Mike
_______________________________________________
Mailing list:
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe :
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to