Import configuration data
When setting up a production system, it’s good practice to import configuration settings from config.php
and env.php
into the database.
These settings include configuration paths and values, websites, stores, store views, and themes.
After importing websites, stores, store views, and themes, you can create product attributes and apply them to websites, stores, and store views, on the production system.
On the production system, run the following command to import data from the configuration files (config.php
and env.php
) to the database:
bin/magento app:config:import [-n, --no-interaction]
The optional [-n, --no-interaction]
flag allows the command to run without additional confirmations.
For additional information, please, check the Import data from configuration files
Sensitive data
Adobe Commerce use your encryption key to encrypt the following:
- Credit card information
- Usernames and passwords specified in the Admin configuration (for example, logins to payment gateways)
- CAPTCHA values sent over the network
Adobe Commerce do not encrypt:
- Administrative and customer usernames and passwords (these passwords are hashed)
- Address
- Phone number
- Other types of personally identifiable information except for credit card numbers