Log in
Model

Encrypted

Magento\Config\Model\Config\Backend\Encrypted

What it does

This backend model handles encrypted configuration values in Magento 2's system configuration.

It automatically encrypts sensitive data (like API keys, passwords) before saving to the database and decrypts them when loading.

Developers use this by specifying it as the backend_model in system.xml for configuration fields that need to store sensitive information securely.

Public Methods

  • beforeSave()
  • processValue()