[Catalyst] Where best to store database connection information?

Adam Witney awitney at sgul.ac.uk
Mon Feb 16 14:42:06 GMT 2015


Hi,

I have a Catalyst / DBIx::Class application and I have been storing the database connection parameters in a config file which is sourced using MYAPP_CONFIG_LOCAL_SUFFIX. But this seems a bit of a security problem having the main password in a text file like this, especially if it goes into git.

Is there a recommended or best practice place to store database connection information?

Thanks for any help

Adam



More information about the Catalyst mailing list