質問

How can I use the magento CLI to set an encrypted value to a custom path that was added by a module? At the moment it seems that the CLI will add it as plain text even though the field is defined to have a type of "obscure".

役に立ちましたか?

解決

The field should be defined as 'sensitive' so that it's picked up by the default sensitive settings (guidelines here).

If you want to write the sensitive information, you should use the command (guideline here).

Also you can check the results with the command:

bin/magento config:show which displays the values of any encrypted values as a series of asterisks: ******.

ライセンス: CC-BY-SA帰属
所属していません magento.stackexchange
scroll top