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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -