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
  • Page:
  • 1

TOPIC: API Problem

API Problem 6 months 1 week 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 6 months 1 week 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.
  • Page:
  • 1
Time to create page: 0.316 seconds
About BuildaCloud.org Resources Site Info

Build a Cloud.org is a resource for those users who want to build cloud computing software with both open source and proprietary software.