[Catalyst] Where best to store database connection information?
davewood at gmx.at
Mon Feb 16 16:22:45 GMT 2015
the catalyst configloader can load more then just one file.
by default it loads "myapp.conf"
if a file named "myapp_local.conf" exists it is loaded aswell.
On 16 February 2015 at 15:42, 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
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://email@example.com/
> Dev site: http://dev.catalyst.perl.org/
More information about the Catalyst