I'm not sure that a password file is an optimal solution for this problem. Maybe the 12 factors <http://www.12factor.net/>, and in particular the config <http://www.12factor.net/config> one, could give you some ideas.
Personally I think that credentials are environment-specific, not application-specific. So I'd place them in an external storage service (like a DB). Or, to make things simple, put them in a file somewhere in the system and load it through an environment variable (see 12 factors, III). This is as simple as writing: (load-passwords-from-file (System/getenv "PASSWORD_FILE")) Hope it helps :) Il giorno martedì 18 dicembre 2012 03:21:31 UTC+1, Marco Munizaga ha scritto: > > I'm currently doing something like src/project/passwords.clj and git > ignoring that, does anyone have a better solution? maybe a way to place the > passwords.clj alongside project.clj in the root directory? Would this be > possible through leiningen profiles? > > > Thanks > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en