So I am not a huge fan of env.php having plain text DB password in it, is it possible to encrypt env.php without breaking magento? It seems the file is literally required for any bin/magento functions to work.
Hello @louisphilibadc
You can try this thing :
array ( 'host' => 'localhost', 'dbname' => 'databasename', 'username' => base64_decode('encoded user name'), 'password' => base64_decode('encoded password'), 'active' => '1', 'persistent' => NULL, ),