heroku/heroku-buildpack-clojure — comment on commit f9bee68cef638d754e4154291f5de4c2d8be7149
File:  line 0
By technomancy:

Another option would be for users to set `AWS_ACCESS_KEY`, `AWS_SECRET_KEY`, and `AWS_REPOSITORY_BUCKET` and automatically generate `.lein/init.clj` for them from a template if those are all set.

This doesn't really scale well to multiple repositories, but maybe that's such an edge case that it's not worth considering. The main use of multiple private repositories is to separate releases and snapshots, and using snapshots in production is super-sketchy anyway.

Another option would be to suggest checking the `:username (System/getenv "AWS_ACCESS_KEY")` bits into project.clj, but that would mean that local development wouldn't work without setting the environment variables, which is a departure from the current convention of placing them in user-specific init files.