You are right Sebastien, like we discussed in the previous thread we do need 
perform user-registration before making both EC2 SOAP and EC2 Query API calls.



The difference is the steps in the user-registration,

1. For SOAP, cloudstack-aws-api-register --apikey=<User's CloudPlatform API 
key>  --secretkey=< User's CloudPlatform Secret key > --cert=<path/to/cert.pem> 
--url=http://<cloud-mgmt-server>:7080/awsapi.

2. For REST, http:// 
<cloud-mgmt-server>:7080/awsapi?Action=SetUserKeys&accesskey=<User's 
CloudPlatform API key>&secretkey=< User's CloudPlatform Secret key >



Additional info:

cloudstack-aws-api-register script performs both the actions, SetUserKeys and 
SetCertificate.

*         SetUserKeys gives the user's API access and secret keys to AWSAPI so 
that AWSAPI can call the CloudStack API with these keys. This is required for 
both Query and SOAP.

*         SetCertificate registers the user's X.509 certificate with AWSAPI. 
EC2 requires the client to have a public/private key pair with the public key 
defined by a X.509 certificate. This is required only for SOAP access only 
(http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/using-soap-api.html)



Thank you,

Likitha



-----Original Message-----
From: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
Sent: Friday, December 14, 2012 7:47 PM
To: cloudstack-dev@incubator.apache.org
Subject: RE: [AWSAPI] user registration



>From Likitha I heard we don't need user registration for EC2  Query API.

@Likitha can you confirm it.?



Thanks

Rajesh Battala





-----Original Message-----

From: Sebastien Goasguen [mailto:run...@gmail.com]

Sent: Friday, December 14, 2012 7:42 PM

To: cloudstack-dev@incubator.apache.org

Subject: [AWSAPI] user registration



Hi,



There is a comment from Jessica in https://reviews.apache.org/r/8237/ that says 
that user registration is not required for AWSAPI.



Can one of the developers (Prachi, Likitha, Rajesh..) comment on this ?



>From a previous thread with Likitha, I thought that user registration was 
>mandatory even for the EC2 Query API.



Thanks,



-Sebastien

Reply via email to