cloudstack_api_key and cloudstack_api_secret

2014-05-23 Thread rammohan ganapavarapu
Hi, I am trying to use vagrant to automate my cloudstack virtual infrastructure but i dont know how to get cloudstack_api_key and secret, can some one please let me know how to get those? Thanks, Ram

Re: cloudstack_api_key and cloudstack_api_secret

2014-05-23 Thread Ove Ewerlid
On 05/24/2014 01:17 AM, rammohan ganapavarapu wrote: Hi, I am trying to use vagrant to automate my cloudstack virtual infrastructure but i dont know how to get cloudstack_api_key and secret, can some one please let me know how to get those? Thanks, Ram A possible way to approach this; 1)

Re: cloudstack_api_key and cloudstack_api_secret

2014-05-23 Thread Ove Ewerlid
Keys need to be explicitly generated. You would use this API call available for ROOT/DOMAIN/USER; http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/registerUserKeys.html /Ove On 05/24/2014 01:51 AM, rammohan ganapavarapu wrote: Also those values are NULL in db, how do i generate

Re: cloudstack_api_key and cloudstack_api_secret

2014-05-23 Thread Ove Ewerlid
Good catch! You are not the first that asks this question. /Ove On 05/24/2014 01:56 AM, rammohan ganapavarapu wrote: Nevermind, i was able to figure it out how to generate them. from UI: Click accounts - Click admin - click view users - click admin - click generate keys. Ram On Fri, May

Re: cloudstack_api_key and cloudstack_api_secret

2014-05-23 Thread Antone Heyward
The way I have been able to get this is by: 1. enabling the integration api port using a sql query. 2. using the api to generate the keys using http://cloudmanagementserver:8096/client/api?command=registerUserKeysid=2response=json” — Notice id=2, this is base on me knowing what the admin user