Merge pull request #35199 from nextcloud/backport/35096/stable25

[stable25] Mark more config values as sensitive
This commit is contained in:
Joas Schilling 2022-11-17 12:05:55 +01:00 committed by GitHub
commit e58eb4650d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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)