I'm working on a clojure web application, using leiningen 2 for build and deployment. It's a very vanilla webapp, and I'm using compojure, ring, and lein-beanstalk. My app needs to use both database credentials and S3 credentials, and I'm not sure the best way to store and access them in my app.
What is the common way of handling sensitive things like database credentials, that need to be deployed with my app, using leiningen 2?
it's possible for me to set up environment variables on elastic beanstalk, but I'd like to avoid that route if possible.