[Dancer-users] Plugin::Database - suggestion to read username/password from a different file
David Precious
davidp at preshweb.co.uk
Sun Sep 25 20:12:51 CEST 2011
On Thursday 22 September 2011 22:35:20 Assaf Gordon wrote:
> Hello Dancers,
>
> Somewhat related to the "sensitive" config data in SCM" topic discussed
> recently, I would like to suggest the followng small patch to
> "Dancer::Plugin::Database" :
>
> Instead of specifying "username/password" in your yml config file, I've
> added a new setting called "credentials". This one points to a simple text
> file that would contain the user name and password.
That sounds like a sensible idea - allowing the less sensitive config data in
config.yml to be checked in to version control, without worrying about the
database connection details being leaked.
Thanks for this idea and patch - sorry for the slow reply, I will get this new
feature incorporated soon.
Cheers
Dave P
--
David Precious ("bigpresh")
http://www.preshweb.co.uk/
"Programming is like sex. One mistake and you have to support
it for the rest of your life". (Michael Sinz)
More information about the Dancer-users
mailing list