You are reading the documentation for version 2.2. Magento 2.3 is the latest version available. Ensure you are reading the documentation for your version of Magento.

env.php reference

The env.php file contains the following sections:

Name Description
backend Settings for the Admin area
crypt The encryption key for cryptographic functions
session Session storage data
db Database connection settings
resource Mapping of resource name to a connection
x-frame-options Setting for x-frame-options
MAGE_MODE The Magento mode
cache_types Cache storage settings
install The installation date
queue Message queues settings
lock Lock provider settings