http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.0.1-incubating/html/API_Developers_Guide/signing-api-requests.html
this links to 'how to sign api request', hope it help. -Mice -----Original Message----- From: Gaspare A Silvestri [mailto:g.silves...@netsons.com] Sent: Friday, February 22, 2013 3:22 PM To: cloudstack-users@incubator.apache.org Subject: Re: VM Console Access - API Hello everybody, is there somebody that can help me about the previous request? Thanks a lot! Gaspare On 21/02/2013 15:59, Gaspare A Silvestri wrote: > Hello everybody, > > me and my developement team are trying to access the Virtual Machine > console within our customize portal, accessing through the CS 4.0.1 APIs. > > We are not able to perform this task, always receiving the following > error: " _/*Access denied. Invalid web session or API key in > request*/_ " . > > We have already tried using the following community advices to create > the web access link: > > * > > http://server:8080/client/console?cmd=access&vm=XXXXXXX > > http://server:8080/client/console?cmd=access&vm=XXXXXXX&signature=XXXX > X > > Today I've found the following post: > http://www.mail-archive.com/cloudstack-users@incubator.apache.org/msg0 > 3923.html, on which I've read that the direct access to the VM console > can be performed using the APIand Secret KEys plusthe SSO key. > > How can we use these three keys to generate the URL to pass to our > application, and finally permitting users accessing the VM console? Or > as alternative, how can we generate the signature showed in the second > link? > > Thanks in advance, all the best, > > Gaspare > > <http://it.linkedin.com/in/gasilvestri>