summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Doane <jaydoane@apache.org>2021-02-22 07:30:38 -0800
committerJay Doane <jay.s.doane@gmail.com>2021-02-23 09:15:26 -0800
commitc0ae0761ae673a2417f0e455cbbeef743cf7fd8e (patch)
treee3fb075ee499ab69f7968f67eb83c76a08dd8dcb
parentcf0aef81b8a6fd39dc3ddd94f6c59b48e3ebd4f6 (diff)
downloadcouchdb-c0ae0761ae673a2417f0e455cbbeef743cf7fd8e.tar.gz
Configure sensitive config values for redaction
This defines a configuration file which specifies sections and fields for config values that are redacted from logs. Specifically, all values from the "admins" section and the value of "password" in the "replicator" section are redacted.
-rw-r--r--rel/apps/config.config4
1 files changed, 4 insertions, 0 deletions
diff --git a/rel/apps/config.config b/rel/apps/config.config
new file mode 100644
index 000000000..0cbc1c58e
--- /dev/null
+++ b/rel/apps/config.config
@@ -0,0 +1,4 @@
+{sensitive, #{
+ "admins" => all,
+ "replicator" => ["password"]
+}}.