briandilley / ebs-deploy

Python based command line tools for managing Amazon Elastic Beanstalk applications.
MIT License
82 stars 29 forks source link

Support environment variables such as AWS_ACCESS_KEY_ID #3

Closed rarkins closed 10 years ago

rarkins commented 10 years ago

Does the app support using environment variables for sensitive values such as access keys? Based on the README and source, it looks like committing them to the config file is the only way currently?

    # load config
    f = open(args.config_file, 'r')
    config = yaml.load(f)
    f.close()

    # create credentials
    aws = AwsCredentials(
        get(config, 'aws.access_key'),
        get(config, 'aws.secret_key'),
briandilley commented 10 years ago

added support for this with version 1.4 - thanks!