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

gcc - MinGW's ld cannot perform PE operations on non PE output file -

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

c# - Search and Add Comment with OpenXML for Word -