[Bug 485106] [NEW] euca2ools should read config and credentials from config file

Scott Moser ssmoser2 at gmail.com
Thu Nov 19 00:07:47 GMT 2009


Public bug reported:

Binary package hint: euca2ools

euca2ools currently reads its configuration from 1 of 2 places:
a.) environment variables
b.) command line arguments

the configuration above that is read includes:
  EC2_URL
  EC2_ACCESS_KEY
  EC2_SECRET_KEY
  EC2_CERT
  EC2_PRIVATE_KEY
  S3_URL
  EUCALYPTUS_CERT

In addition to being a non-typical way of specifying configuration, the
environment variables
  EC2_ACCESS_KEY and EC2_PRIVATE_KEY
contain sensitive information.  It is generally considered less than secure to
set sensitive information in the environment.

Instead or in addition to (really only for backwards compat) euca2ools should
read configuration from a config file.  I suggest:

/etc/euca2ools/eucarc
$HOME/.eucarc

And additionally allow the caller to specify a config file.  Ie:

euca-run-instances --config /tmp/my-config eki-abcdefg

** Affects: eucalyptus
     Importance: Undecided
         Status: New

** Affects: euca2ools (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: eucalyptus
   Importance: Undecided
       Status: New

-- 
euca2ools should read config and credentials from config file
https://bugs.launchpad.net/bugs/485106
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to euca2ools in ubuntu.



More information about the Ubuntu-server-bugs mailing list