forget my question! got it : select * from configuration where name='integration.api.port'; I will try this approach on having key dynamically generated...
Thanks for the clue! Pierre-Luc Dion Responsable technique - infrastructure | Technical lead - infrastructure 514-447-3456, 1101 - - -* CloudOps *420 rue Guy Montréal QC H3J 1S6 www.cloudops.com @CloudOps_ On Thu, Oct 10, 2013 at 12:48 PM, Pierre-Luc Dion <pd...@cloudops.com>wrote: > So you have to enable the integration.api.port via the webui manually or > their is a way of configure it programatically ? > > > > > Pierre-Luc Dion > Responsable technique - infrastructure | Technical lead - infrastructure > 514-447-3456, 1101 > - - -* > CloudOps > *420 rue Guy > Montréal QC H3J 1S6 > www.cloudops.com > @CloudOps_ > > > On Thu, Oct 10, 2013 at 11:48 AM, Prasanna Santhanam <t...@apache.org>wrote: > >> On Thu, Oct 10, 2013 at 10:50:43AM -0400, Pierre-Luc Dion wrote: >> > I'm currently building a Chef cookbook for the installation of >> Cloudstack >> > for our cloudstack dev environments. One thing that I need is the admin >> > user api_key and secret_key in order to updated configuration of >> cloudstack >> > and cloudmonkey. >> > >> > I thought that I could just update database atrributes secret_key and >> > api_key of the admin user in the cloud.user table. But it doesn't work. >> > >> > is their a way to automate the admin user to have a know API and secret >> key >> > ? if I update user table, do I have to update something else ? >> >> For the puppet based solution I open 8096 port and call the API >> registerUserKeys() with the admin id (=2). that should respond with >> the api and secret keys. >> >> > >> > >> > thanks >> > >> > Pierre-Luc Dion >> > Responsable technique - infrastructure | Technical lead - infrastructure >> > >> > - - -* >> > CloudOps >> > *420 rue Guy >> > Montr?al QC H3J 1S6 >> > www.cloudops.com >> > @CloudOps_ >> >> -- >> Prasanna., >> >> ------------------------ >> Powered by BigRock.com >> >> >