aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/SystemConfig.php
diff options
context:
space:
mode:
authorJulien Veyssier <eneiluj@posteo.net>2021-10-05 18:26:06 +0200
committerJulien Veyssier <eneiluj@posteo.net>2021-10-05 18:26:06 +0200
commit9d6c286ce64d16d487250999b12fdda196b3691b (patch)
tree5e9c09c555fcde8550dc45d1c107a9f6afc1919d /lib/private/SystemConfig.php
parentb28f4989ffac9d86136da319ac71594520cb2af9 (diff)
downloadnextcloud-server-9d6c286ce64d16d487250999b12fdda196b3691b.tar.gz
nextcloud-server-9d6c286ce64d16d487250999b12fdda196b3691b.zip
consider some config keys under 'objectstore_multibucket' as sensitive
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Diffstat (limited to 'lib/private/SystemConfig.php')
-rw-r--r--lib/private/SystemConfig.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/private/SystemConfig.php b/lib/private/SystemConfig.php
index be231e1a7e9..c435b9180b9 100644
--- a/lib/private/SystemConfig.php
+++ b/lib/private/SystemConfig.php
@@ -83,6 +83,27 @@ class SystemConfig {
],
],
],
+ 'objectstore_multibucket' => [
+ 'arguments' => [
+ 'options' => [
+ 'credentials' => [
+ 'key' => true,
+ 'secret' => true,
+ ]
+ ],
+ // S3
+ 'key' => true,
+ 'secret' => true,
+ // Swift v2
+ 'username' => true,
+ 'password' => true,
+ // Swift v3
+ 'user' => [
+ 'name' => true,
+ 'password' => true,
+ ],
+ ],
+ ],
];
/** @var Config */