vRealize orchestrator rest request using HoK token

by Grzegorz Kulikowski

I have created example about how to make a vRO Rest API request in powershell utilizing HoK (Holder of Key) token. It’s pretty much raw version. It’s not nice 😉 it depends on vsphere SDK libraries, as i did not have much time to make it work without them. The New-webserviceproxy can’t handle the soap security headers, so i am using the dlls from the SDK to make this possible. Feel free to make better version, and share. I saw a lot of people looking for invoking vro rest api methods using the hok token.
It would not be possible to write it without help of Chris Dent, Sushil Kavi, so many thanks to them for helping me out with making this example possible 😉
a1
a2
 https://github.com/qlikq/ExampleVRORestMethodHoKtoken

Advertisements

You may also like

2 comments

Hui Luo June 16, 2020 - 7:17 am

Hi,

I am new to vRO, and now trying to get a hok token for vRO 8.1 to use the rest call, and I read your posts, but still do not know how to use your code on Github. Do I need to download the vSphere sdk and vro sdk? Thank you so much!

Reply
psvmware June 16, 2020 - 12:12 pm

Hi Hui, yes line 1-4 states that you need to obtain the webservices SDK , so that you have the dlls. Line 23,24 show you which files are being loaded from the webservices SDK. There is no VRO SDK used here.

Reply

Leave a Reply

Chinese (Simplified)DutchEnglishFrenchGermanHindiPolishRussianSpanish