Keeping Credentials Safe
In this chapter you will learn how to keep credentials out of source code repository.
Moonshine will keep the file in the shared folder and symlink it to the file under current project folder just by adding one line to the config/moonshine.yml:
:shared_config
- config/amazon_s3.yml
If you have issues with file upload, you can upload manually by:
cap shared_config:upload
on your machine. On initial setup Moonshine does this for database.yml. This is due to cap deploy:setup command. Remember to add the config file to the .gitignore file so that it does not get checked into the repo.