You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Falcons] Documentation for TypeList (magento#766)
* MAGETWO-66773: Documentation for TypeList
* MAGETWO-66773: Documentation for TypeList
* MAGETWO-66773: Documentation for TypeList
* Edit sensitive and system-specific configuration in di.xml
A _sensitive configuration setting_ is one you can manage using either a configuration variable or using the Magento Admin. A sensitive setting is _not_ stored in `config.php` and cannot be shared between environments.
323
+
## Sensitive and system-specific configuration settings {#ext-di-sens}
324
+
In the Magento [split deployment model]({{ page.baseurl }}), there are the following types of configuration settings:
325
325
326
-
Typical examples are payment gateway API keys, user names, or passwords.
326
+
* Shared, which can be shared between systems using `app/etc/config.php`
327
+
* System-specific, which are unique to a particular system.
327
328
328
-
To specify a sensitive configuration value, add a reference to [`Magento\Config\Model\Config\Export\ExcludeList`]({{ site.mage2200url }}app/code/Magento/Config/Model/Config/Export/ExcludeList.php){:target="_blank"} to `di.xml` as follows:
329
+
Typical examples include host names and ports.
330
+
* Sensitive, managed using either an environment variable, using the [`magento config:sensitive:set` command]({{ page.baseurl }}) or using the Magento Admin.
331
+
332
+
Typical examples are payment gateway API keys, user names, or passwords.
333
+
334
+
You cannot share either system-specific or sensitive settings between development and production systems.
335
+
336
+
To specify either a system-specific or sensitive configuration value, add a reference to [`Magento\Config\Model\Config\TypePool`]({{ site.mage2200url }}app/code/Magento/Config/Model/Config/TypePool.php){:target="_blank"} to `di.xml` as follows:
0 commit comments