nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
26.93k stars 4.02k forks source link

Let apps define list of sensitive config values instead of hardcoding in the server. #32804

Open fancycode opened 2 years ago

fancycode commented 2 years ago

How to use GitHub

Is your feature request related to a problem? Please describe. Currenty a list of sensitive config values is hardcoded in https://github.com/nextcloud/server/blob/8541707f3286e34b8ec24c5399776f61ec8fbb9d/lib/private/AppConfig.php#L47

Whenever an app defines a new sensitive config value, this list must be updated in the server and the value is visible until a potential PR is merged in the server and the server has been updated.

Describe the solution you'd like It would be better if each app could define a list of config values that should be filtered.

joshtrichards commented 1 year ago

Related: #33398 (but currently lacking documentation as far as I can tell)