Josiah Kiehl Josiah Kiehl - 1 month ago 19
Git Question

Amazon secret keys and Heroku

I'm using S3 in this application for uploaded files, as Heroku has a read-only filesystem. How can I give my s3.yml to Heroku, but avoid checking it into the main repository?

Answer

Check out http://docs.heroku.com/config-vars, the first example on the page is exactly what you are trying to do.

Edit '2015: page now at https://devcenter.heroku.com/articles/config-vars and it's the second page you're looking for.

Comments