I'm trying to authenticate myself on vCO api, but I always have a 401 response : Full authentication is required to access this resource.
According to this document : , I have done : http://pubs.vmware.com/vsphere-51/index.jsp?topic=/com.vmware.vsphere.vco_develop_web_services.doc/GUID-82B9BB64-9A1C-48FC-BCD1-08BA1F38B24E.html
First of all I retrieve h-o-k with vCO SDK :
./run.sh com.vmware.sso.client.samples.AcquireHoKTokenByUserCredentialSample https://IP:PORT/ims/STSService login pass
it returns :
Token details:
AssertionId = _******
Token type = Holder-Of-Key
Issued On = 2013-02-25T15:31:43.972Z
And then I tryed to authenticate myself on vCO Rest api with this command :
But it always returns me : HTTP/1.1 401 Full authentication is required to access this resource
Have you any idea of the problem ?
Thanks for your help !!!