Feat: etcd filer store keys should have customizable prefix (#4484)

An etcd cluster is not necessarily only dedicated to seaweedfs.
This security enhancement adds a customizable key_prefix option to the etcd filer store.
This will allow an etcd cluster administrator to limit the seaweedfs etcd user to only read/write a subset of keys under the
key_prefix, instead of all keys on the etcd cluster.
This commit is contained in:
Mesar Hameed
2023-05-19 07:08:56 +01:00
committed by GitHub
parent 17e91d2917
commit a90b777ff4
3 changed files with 11 additions and 8 deletions

View File

@@ -264,6 +264,7 @@ enabled = false
servers = "localhost:2379"
username = ""
password = ""
key_prefix = "seaweedfs."
timeout = "3s"
[mongodb]