jclouds-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Phillips <andr...@apache.org>
Subject Re: Exception cause when connecting to cloudstack
Date Fri, 19 Sep 2014 13:44:04 GMT
Hi Asanka

I think what Schalk was trying to point out is that's its generally  
advised never to put sensitive information such as your passwords into  
an email on a public forum such as this one. If I understand  
correctly, your CloudStack instance is running locally, so hopefully  
is not accessible to anyone else.

Still, you should consider changing your credentials and replacing  
them with things like 'dummy' in future emails.

Now on to your problem ;-) According to the API metadata [1], the  
value for "identity" is expected to be your API key, and the value for  
"credential" is expected to be your secret key.

So you should be calling ".credentials(apiKey, secretKey)". Could you  
try that?

Note that Everett's example is for Rackspace, which is not a CloudStack cloud.

ap

[1]  
https://github.com/jclouds/jclouds/blob/master/apis/cloudstack/src/main/java/org/jclouds/cloudstack/CloudStackApiMetadata.java#L63-L64

Mime
View raw message