[LRUG] How do you manage secrets in Rails apps?
Artan Sinani
artisinani at gmail.com
Tue Sep 23 11:18:01 PDT 2014
In Rails 4.1 I use secrets.yml (
http://edgeguides.rubyonrails.org/4_1_release_notes.html#config-secrets-yml
).
LugoLabs.com <http://lugolabs.com>
On 23 September 2014 19:13, James McCarthy <james at lety.co> wrote:
> Dotenv.
>
>
> James McCarthy
>
> Software Engineer
>
> LetyCo - Analyse, Build, Deliver
> Ruby/Rails software for London and the SouthEast.
>
> Mob: 07577006897
>
> Email: james at lety.co
>
> lety.co
>
>
>
> -------- Original message --------
> From: Phil Nash
> Date:23/09/2014 19:06 (GMT+00:00)
> To: London Ruby Users Group
> Subject: [LRUG] How do you manage secrets in Rails apps?
>
> Hi LRUG,
>
> I've been thinking a lot recently about application secrets like API or
> database credentials and how they are stored in different environments for
> Rails apps. I was hoping that you lovely LRUG member could share how you
> deal with this yourself.
>
> Currently I only tend to deploy apps to Heroku, so I use environment
> variables throughout the app, loaded in development/test environments with
> the envyable <https://github.com/philnash/envyable> gem, though figaro
> <https://github.com/laserlemon/figaro> would do the same job.
>
> So, what I'm asking is, if you use environment variables for config in
> your applications how do you load them in both development and production
> environments?
>
> Thanks,
>
> Phil
>
> --
> Phil Nash
> @philnash
>
> _______________________________________________
> Chat mailing list
> Chat at lists.lrug.org
> Archives: http://lists.lrug.org/pipermail/chat-lrug.org
> Manage your subscription: http://lists.lrug.org/options.cgi/chat-lrug.org
> List info: http://lists.lrug.org/listinfo.cgi/chat-lrug.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20140923/7a677f63/attachment-0003.html>
More information about the Chat
mailing list