Welcome, Guest
Username: Password: Remember me
Archived CloudStack Forums for reference purposes please direct all future inquiries to the Apache CloudStack mailing lists.

incubator.apache.org/cloudstack/mailing-lists.html

TOPIC: API Problem

API Problem 9 months 2 weeks ago #13052

  • gompie
  • gompie's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
Hello,

can you help me? I installed cloudstack and would work with the API.

We use the following keys:

API:m4SE1WxcpeVtEK87PB1JbBJNEl1PdzUPxSRCzWAW2Sf1rzaOPiStOG5Wh_Y8y5yfi_-xKCpprMU_2DEKVmL8CQ

Secret:nvISmVLlyRyqXWLpOAmNGSr-KzC_tJCziiu-JqFpOWKw6ro0agYepEYC6Em799X_ig7sDgkWI4V4OKRlE1dTrw

And if I hash the secret key, i get this one(SHA1):dd7a9f038e1aeee97734dcf8f3a3b6d31089caa9

And if I use this link:
145.92.5.100:8080/client/api?command=lis...dcf8f3a3b6d31089caa9

I get the next error:
401unable to verify user credentials and/or request signature

Can you help me with what I do wrong?

Thank Regards
The administrator has disabled public write access.

Re: API Problem 9 months 2 weeks ago #13053

  • sebgoa
  • sebgoa's Avatar
  • OFFLINE
  • Administrator
  • Posts: 34
  • Thank you received: 7
  • Karma: 0
Hi,

Check the documentation at:
incubator.apache.org/cloudstack/docs/en-...ng-api-requests.html

There is instructions on how to sign the api requests.

Alternatively you can use a python or ruby client that does that for you:
for example: github.com/jasonhancock/cloudstack-python-client

Also, you may want to consider registering to the apache users mailing list:
see: incubator.apache.org/cloudstack/mailing-lists.html

-Sebastien
The administrator has disabled public write access.
Time to create page: 0.239 seconds

Open@Citrix

Citrix supports the open source community via developer support and evangeslism. We have a number of developers and evangelists that participate actively in the open source community in Apache Cloudstack, OpenDaylight, Xen Project and XenServer. We also conduct educational activities via the Build A Cloud events held all over the world. 

Connect