[Openstack] Keystone v3 API. How to handle insecure option

Rob Crittenden rcritten at redhat.com
Fri Jul 25 13:45:49 UTC 2014


Steve Martinelli wrote:
> 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

And not using insecure would be a good move in any case. It can be
helpful in a sort of hand-wavy development environment but other than
that it's just asking for trouble.

rob

> 
> 
> Regards,
> 
> *Steve Martinelli*
> Software Developer - Openstack
> Keystone Core Member
> ------------------------------------------------------------------------
> *Phone:*1-905-413-2851*
> E-mail:*_stevemar at ca.ibm.com_ <mailto:stevemar at ca.ibm.com> 	
> 8200 Warden Ave
> Markham, ON L6G 1C7
> Canada
> 
> 
> 
> 
> 
> 
> From:        Michael Hearn <mrhearn at gmail.com>
> To:        "openstack at lists.openstack.org" <openstack at 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 at 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 at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> 





More information about the Openstack mailing list