rbvmomi icon indicating copy to clipboard operation
rbvmomi copied to clipboard

Connect without username/password

Open sergeyhush opened this issue 12 years ago • 1 comments

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

sergeyhush avatar Mar 07 '12 19:03 sergeyhush

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.

rlane avatar Mar 07 '12 23:03 rlane