PaulAngus opened a new issue #104:
URL: https://github.com/apache/cloudstack-cloudmonkey/issues/104


   ### Feature Request
   
   **Enable the passing of profile information in cmk command line**
   
   ### Use Case
   
   - Storing API and Secret Keys in a plain text file presents a large security 
hole.
   - Also, when using scripting from a central location where multiple profiles 
are in use, switching between profiles and altering config is cumbersome.
   - Plus cmk cannot be used against multiple environments (profiles) at the 
same time,
   
   ###  Subsequent Usage
   
   Being able to override these parameters would allow config to be:
   
   ```
   prompt     = ߐ
   asyncblock = true
   timeout    = 1800
   output     = json
   verifycert = true
   profile    = localcloud
   
   [localcloud]
   url       = http://localhost:8080/client/api
   username  = 
   password  = 
   domain    = /
   apikey    = 
   secretkey =
   ```
   one could then use:
   
   cmk **cmk_url**=http://acs_host:8080/client/api **cmk_apikey**=$APIKEY 
**cmk_secretkey**=$SECRETKEY **cmk_output**=csv **list hosts**
   
   When scripting, APIKEY and SECRETKEY can be stored in a vault
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to