amazon web services - Keep config file secure using github and Elastic Beanstalk? -


i using github (public) keep track of web app , deploy elastic beanstalk. there way keep config file secure has rds username/password? have add file git in order push elastic beanstalk make password visible on github...? suggestions? thanks!

your intuition correct! keep keys/passwords/credentials out of committed codebase.

elastic beanstalk provides environment variables in control panel purpose. official documentation can found here: http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options.html#command-options-ruby

these environment variables can edited through elastic beanstalk ui.

you can reference these variables in .yml config files, e.g. password: <%= env['param1'] %>.


Comments

Popular posts from this blog

symfony - TEST environment only: The database schema is not in sync with the current mapping file -

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -