weavejester/lein-beanstalk — pull request #14 by cemerick (2011-10-26 11:16:36+00:00)
Title: Prefer to pull credentials from ~/.lein/init.clj

The current practice of recommending that AWS credentials be put into `project.clj` is a bad idea. This encourages the accidental inclusion of credentials in SCM commits (which you almost never actually want to do), public commits being a particularly bad outcome.

This patch preferentially loads credentials from `~/.lein/init.clj`, falling back to `project.clj` with a warning if necessary.

Personally, I'd prefer to see credentials in `project.clj` ignored (or cause a failure straight off). Perhaps for `0.3.0`…?