rbvmomi
rbvmomi copied to clipboard
Connect without username/password
I propose adding a functionality that would connect without username/password, but with session key. This is convenient when using VC plug-ins. Here is the doc describing details http://communities.vmware.com/servlet/JiveServlet/previewBody/4731-102-1-2963/TechNote_Sharing%20sessions%20among%20multiple%20clients%20in%20VI%20SDK.pdf
You can actually do this today. RbVmomi::VIM has a cookie accessor, so you can copy and reuse the cookie. Using SessionManager's AcquireCloneTicket and CloneSession might be another option. I'll leave this issue open to add a :cookie and/or :clone_ticket option to VIM.connect.