[Catalyst] Where best to store database connection information?
jjn1056 at yahoo.com
Mon Feb 16 20:38:00 GMT 2015
People do different things based on there setup. I tend to use ENV vars and store them on the local server under /etc with a restricted account. There's no official way to do this (we are not Rails :)). -jnap
On Monday, February 16, 2015 8:42 AM, Adam Witney <awitney at sgul.ac.uk> wrote:
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
List: Catalyst at lists.scsys.co.uk
Searchable archive: http://email@example.com/
Dev site: http://dev.catalyst.perl.org/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Catalyst