Hi All,
I have a postgresql database with md5 authentication enabled. I can login to my database from UNIX socket with out a problem.
My Laravel database connection also works fine with a plane password authentication. However I don't want plane passwords stored in my .env file in my production environment or transported via network. I couldn't find any resource on how to use encrypted passwords in my connection string.
Can anyone describe a how to or point me to a resource on how to go about this? I'd appreciate this so much.
don't use md5. if you're connecting to a local server there's no security risk in storing password on the .env as long as the server is secured. If you're connecting to a remote database connect over a SSL connection.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community