diff options
| author | Chris Lu <chris.lu@gmail.com> | 2019-02-14 00:08:20 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2019-02-14 00:08:20 -0800 |
| commit | 215cd27b37d504aca255a54283e77c8cff6692ab (patch) | |
| tree | d6f0cdd10d75d1881fad924c94ef7ed3ed947241 /weed/command/scaffold.go | |
| parent | 4ff4a147b258bb7787e492a74254f3993bb69d1a (diff) | |
| download | seaweedfs-215cd27b37d504aca255a54283e77c8cff6692ab.tar.xz seaweedfs-215cd27b37d504aca255a54283e77c8cff6692ab.zip | |
add authorizing fileId write access
need to secure upload/update/delete for benchmark/filer/mount
need to add secure grpc
Diffstat (limited to 'weed/command/scaffold.go')
| -rw-r--r-- | weed/command/scaffold.go | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/weed/command/scaffold.go b/weed/command/scaffold.go index 40e7437d2..22300d3ba 100644 --- a/weed/command/scaffold.go +++ b/weed/command/scaffold.go @@ -10,7 +10,7 @@ func init() { } var cmdScaffold = &Command{ - UsageLine: "scaffold [filer]", + UsageLine: "scaffold -config=[filer|notification|replication|security]", Short: "generate basic configuration files", Long: `Generate filer.toml with all possible configurations for you to customize. @@ -244,10 +244,14 @@ directory = "/" # destination directory ` SECURITY_TOML_EXAMPLE = ` +# Put this file to one of the location, with descending priority +# ./security.toml +# $HOME/.seaweedfs/security.toml +# /etc/seaweedfs/security.toml # this file is read by master, volume server, and filer -[jwt] -signing_key = "" +[jwt.signing] +key = "" ` ) |
