if you use a password to encrypt your config, you will need config2
for the password, and of course you do not want people to have access
to config2, so you should encrypt that, and put the password in
config3, and ...

I recommend using lein test selectors to split out tests that hit
external services in to a different class of tests, tests that don't
require the credentials can be loaded and run by anyone, tests that do
require a config file that is not checked in.

On Fri, Sep 28, 2012 at 4:33 AM, Murtaza Husain
<murtaza.hus...@sevenolives.com> wrote:
> Hi,
>
> I am using a config file to store passwords / keys for DB and connection to
> other services like AWS.
>
> I am using Travis CI for build, and running my tests, and then deploying it
> to live server.
>
> I would like to encrypt the variables in my config file and only the
> application should be able to read it. This is the criteria -
>
> 1) The application should be able to decrypt it in multiple environments,
> from the build server to multiple deployment servers.
>
> 2) The password used to decrypt the config file is not avalaible to the
> developers.
>
> Also are there any leiningen plugins / features that will aid in this ?
>
> Thanks,
> Murtaza
>
> --
> 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



-- 
And what is good, Phaedrus,
And what is not good—
Need we ask anyone to tell us these things?

-- 
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

Reply via email to