you don't need the username in the cloudmonkey config. It uses the api - and secret keys to authenticate.
On Fri, Nov 29, 2013 at 10:47 AM, raj kumar <rajkumar600...@gmail.com> wrote: > got it. thank you. I appreciate your help. > > > cloudmonkey is running in management server itself. > > Created the keys and updated it in ~/.cloudmonkey/config. [user] section. > when I used sync in cloudmonkey, i'm getting, > >> sync > Unauthorized: None > Failed to sync apis, please check your config? > Note: `sync` requires api discovery service enabled on the CloudStack > management server > > > confusion is where to give the username in config? also do I need to enable > api discovery service somewhere? > > > > On Fri, Nov 29, 2013 at 1:03 PM, Sebastien Goasguen <run...@gmail.com>wrote: > >> >> On Nov 29, 2013, at 2:04 AM, raj kumar <rajkumar600...@gmail.com> wrote: >> >> > Hi, >> > >> > I'm trying cloudmonkey, but i don't have api/secret key. I'm using basic >> > cloudstack4.2. In the user account actions, I see edit, update resource >> > count, disable account, lock account and delete account. I don't see key >> > options. pls let me know how to enable it. >> >> Under Accounts, select/click the account you want to use, then click on >> show users. >> Click on the user you want to use. >> Then you should see an icon 'generate keys', click on it and that should >> generate your keys. >> Then start cloudmonkey and: >> >set apikey <apikey> >> >set secretkey <secretkey> >> >>