env

How to pass ENV variables to PHP

How to export variables to PHP in secure way

It’s not a good practice to store your password in the code. It is a well-known fact, and on multiple occasions, people get hacked because they share their code (and passwords) accidentally with others.

Many bots are just browsing GitHub for lost AWS_SECRET_ACCESS_KEY or GCE credentials. I’m going to show you how to pass your AWS_SECRET_ACCESS_KEY to PHP.