diff --git a/CliClient/app/command-config.js b/CliClient/app/command-config.js index b0eb6227b4..b790d0045b 100644 --- a/CliClient/app/command-config.js +++ b/CliClient/app/command-config.js @@ -23,8 +23,11 @@ class Command extends BaseCommand { const verbose = args.options.verbose; const renderKeyValue = (name) => { + const md = Setting.settingMetadata(name); let value = Setting.value(name); if (typeof value === 'object' || Array.isArray(value)) value = JSON.stringify(value); + if (md.secure) value = '********'; + if (Setting.isEnum(name)) { return _('%s = %s (%s)', name, value, Setting.enumOptionsDoc(name)); } else {