Can Yildirim's Blog

Encrypted Values in Magento Config | #MagentoTips2

August 25, 2021

Magento provides encryption mechanism for sensitive data saved on adminhtml. Encrypted fields can be used to save sensitive data like API Access Keys.

To use Encrypted fields on Magento:

  • set type=“obscure” on field tag
  • set backend_model “Magento\Config\Model\Config\Backend\Encrypted”

Please note that using type=“password” does not encrypt the value

magento-encrypt-obscure

Follow : @DailyMagento


Can Yildirim

Written by Can Yildirim who lives in London. Full Stack Software Engineer. Follow me on Twitter Linkedin

© 2023,