VMware Cloud Community
Dimibm
Contributor
Contributor

principal holder-of-key and delegate HoK

Hi:

I am try using Orchestrator REST web service through Python.

But I did not find a way to get  principal HOK and delegate HOK.

Anyone has a way to get these 2 keys? And how to put it into Http header?

0 Kudos
3 Replies
iiliev
VMware Employee
VMware Employee

You need to get these tokens directly from SSO, not from vCO.

BTW, vCO REST API (version 5.1u1 and up) supports basic authentication over SSO, so you may call the REST API passing username/password, and vCO server will hide the complexity of dealing with SSO tokens.

0 Kudos
mcfadyenj
Hot Shot
Hot Shot

when you mention basic, I assume you mean the user / password is in cleartext over the wire?

Not that this matters in my case but just want to be sure for a secure requirement.

0 Kudos
cdecanini_
VMware Employee
VMware Employee

Basic use base64 to encode / decode but is typically used with HTTPS.

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you! Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator for vCenter Orchestrator tips and tutorials - @vCOTeam on Twitter
0 Kudos