summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2021-10-06 09:13:12 +0200
committerGitHub <noreply@github.com>2021-10-06 09:13:12 +0200
commite5f4d72d0b4c3992e234aac5a9d96cf0096b63a8 (patch)
tree173e245c5c70ec281e026b03168f40ccc8e7672f
parent1e9699072ada51118929f6a61b70a837341a6ba3 (diff)
parent9d6c286ce64d16d487250999b12fdda196b3691b (diff)
downloadnextcloud-server-e5f4d72d0b4c3992e234aac5a9d96cf0096b63a8.tar.gz
nextcloud-server-e5f4d72d0b4c3992e234aac5a9d96cf0096b63a8.zip
Merge pull request #29082 from nextcloud/enh/add-sensitive-config-keys
Add a few sensitive config keys
-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 */