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
