diff options
| author | Mesar Hameed <mesar.hameed@gmail.com> | 2023-05-19 07:08:56 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-18 23:08:56 -0700 |
| commit | a90b777ff4992ab59f4b1a94733b56f67ca9ddec (patch) | |
| tree | 1dfa3c1a79f477bab5466215a2ca1c3bdd6f2334 /weed/command/scaffold | |
| parent | 17e91d29179a41131e2a707ac2c5e63be4a21530 (diff) | |
| download | seaweedfs-a90b777ff4992ab59f4b1a94733b56f67ca9ddec.tar.xz seaweedfs-a90b777ff4992ab59f4b1a94733b56f67ca9ddec.zip | |
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.
Diffstat (limited to 'weed/command/scaffold')
| -rw-r--r-- | weed/command/scaffold/filer.toml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/command/scaffold/filer.toml b/weed/command/scaffold/filer.toml index b4c20d2bf..17123887d 100644 --- a/weed/command/scaffold/filer.toml +++ b/weed/command/scaffold/filer.toml @@ -264,6 +264,7 @@ enabled = false servers = "localhost:2379" username = "" password = "" +key_prefix = "seaweedfs." timeout = "3s" [mongodb] |
