Mark more config values as sensitive

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2022-11-11 09:02:28 +01:00
parent 96855d73a2
commit 663cf04469
No known key found for this signature in database
GPG Key ID: 74434EFE0D2E2205
2 changed files with 8 additions and 0 deletions

View File

@ -46,6 +46,7 @@ class AppConfig implements IAppConfig {
/** @var array[] */
protected $sensitiveValues = [
'circles' => [
'/^key_pairs$/',
'/^local_gskey$/',
],
'external' => [
@ -132,6 +133,9 @@ class AppConfig implements IAppConfig {
'user_ldap' => [
'/^(s..)?ldap_agent_password$/',
],
'user_saml' => [
'/^idp-x509cert$/',
],
];
/** @var Connection */

View File

@ -72,6 +72,10 @@ class SystemConfig {
'host' => true,
'password' => true,
],
'redis.cluster' => [
'seeds' => true,
'password' => true,
],
'objectstore' => [
'arguments' => [
// Legacy Swift (https://github.com/nextcloud/server/pull/17696#discussion_r341302207)