fix(config): Mark more configs as sensitive

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2024-10-28 14:56:19 +01:00
parent 2a437b4305
commit 1e5cb82cc1
No known key found for this signature in database
GPG key ID: F72FA5B49FFA96B0
2 changed files with 10 additions and 0 deletions

View file

@ -1430,10 +1430,16 @@ class AppConfig implements IAppConfig {
'/^key_pairs$/',
'/^local_gskey$/',
],
'call_summary_bot' => [
'/^secret_(.*)$/',
],
'external' => [
'/^sites$/',
'/^jwt_token_privkey_(.*)$/',
],
'globalsiteselector' => [
'/^gss\.jwt\.key$/',
],
'integration_discourse' => [
'/^private_key$/',
'/^public_key$/',
@ -1534,6 +1540,9 @@ class AppConfig implements IAppConfig {
'user_saml' => [
'/^idp-x509cert$/',
],
'whiteboard' => [
'/^jwt_secret_key$/',
],
];
return $sensitiveValues[$app] ?? [];

View file

@ -107,6 +107,7 @@ class SystemConfig {
'onlyoffice' => [
'jwt_secret' => true,
],
'PASS' => true,
];
public function __construct(