Merge pull request #17696 from nextcloud/enh/17659/hide-objectstore-credentials

Remove objectstore credentials
This commit is contained in:
Roeland Jago Douma 2019-11-07 09:14:42 +01:00 committed by GitHub
commit 03d9e05bb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 2 deletions

View File

@ -64,13 +64,24 @@ class SystemConfig {
],
'objectstore' => [
'arguments' => [
'password' => true,
// Legacy Swift (https://github.com/nextcloud/server/pull/17696#discussion_r341302207)
'options' => [
'credentials' => [
'key' => true,
'secret' => true,
]
]
],
// S3
'key' => true,
'secret' => true,
// Swift v2
'username' => true,
'password' => true,
// Swift v3
'user' => [
'name' => true,
'password' => true,
],
],
],
];