
On 01/04/2015 05:12 AM, Tony James wrote:
Does ovirt-engine-sdk support session authentication to avoid using a username and password? It appears this functionality was added to ovirt-engine-sdk-java [1].
No, the Python SDK doesn't currently support that, and there are no plans to add support for it. Note that what the Java SDK supports is taking the session identifier from somewhere and re-using it. That isn't very useful, as most clients will close their session when they finish, potentially and unexpectedly rendering the the re-used session invalid. If you aren't trying to re-use a session then having this capability won't help you, as you will anyhow need to authenticate at least once using the user name and password. Version 3.6 of the SDKs (Python and Java) will support Kerberos authentication: http://www.ovirt.org/Features/Kerberos_Support_in_SDKs_and_CLI#Python_SDK Depending on your actual requirements this may be a better fit. -- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.