I need to be able to share ENV variables between multiple linux servers. These variables are used by my application. I'd like to keep these variables in sync between all servers.
Application deployment is currently handled by Capistrano. Unfortunately I can't simply store the variables in the cap recipe as they contain sensitive data and I do not want to commit them to my repos unencrypted.
One idea I had was to create an encrypted repos using git-encrypt, store the data there and then somehow thru Capistrano or Chef check-out the repos during application deployment, unencrypted and source the ENV variables in each of the application servers.
I am wondering if anybody else has solved this before.