Encrypt Secrets

PHPMaker 2026 In the Advanced Settings, when I check Encrypt Secrets the values for the DB connections in the .env.dev.local are replaced with # Encrypted, and the generated application will no longer log in with a database connection error. Is there anything I should do to solve this issue?

Read important note of the advanced setting Encrypt secrets:

  1. Make sure you enable enable it for production mode,
  2. Make sure you have uploaded the config/secrets/prod/prod.decrypt.private.php (which contains the encrypted secrets).