diff options
| author | Chris Lu <chris.lu@gmail.com> | 2019-05-04 08:42:25 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2019-05-04 08:42:25 -0700 |
| commit | 25941e0500de02f539cc6629e549e7e0096cc2eb (patch) | |
| tree | 5493651887f2244a4a731243c007e1bff60ecb33 /weed/command/scaffold.go | |
| parent | bd8af92b54ef73c7b9fd487db7d47993a0ae3002 (diff) | |
| download | seaweedfs-25941e0500de02f539cc6629e549e7e0096cc2eb.tar.xz seaweedfs-25941e0500de02f539cc6629e549e7e0096cc2eb.zip | |
master: add jwt expires_after_seconds
Diffstat (limited to 'weed/command/scaffold.go')
| -rw-r--r-- | weed/command/scaffold.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/weed/command/scaffold.go b/weed/command/scaffold.go index 7655ab893..1f1d09ff0 100644 --- a/weed/command/scaffold.go +++ b/weed/command/scaffold.go @@ -262,10 +262,11 @@ directory = "/" # destination directory # /etc/seaweedfs/security.toml # this file is read by master, volume server, and filer -# the jwt signing key is read by master and volume server -# a jwt expires in 10 seconds +# the jwt signing key is read by master and volume server. +# a jwt defaults to expire after 10 seconds. [jwt.signing] key = "" +expires_after_seconds = 10 # seconds # all grpc tls authentications are mutual # the values for the following ca, cert, and key are paths to the PERM files. |
