diff options
| author | Chris Lu <chris.lu@gmail.com> | 2019-06-06 00:29:02 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2019-06-06 00:29:02 -0700 |
| commit | 50aa769554fcc36672900b5bf19501f5ae6a0133 (patch) | |
| tree | 10e685f12bdff605f14d686ca27ed4e6b86eced2 /weed/command/scaffold.go | |
| parent | d344e0a035985ce7a28a6f7a4499199ef27aeda3 (diff) | |
| download | seaweedfs-50aa769554fcc36672900b5bf19501f5ae6a0133.tar.xz seaweedfs-50aa769554fcc36672900b5bf19501f5ae6a0133.zip | |
jwt for read access control
Diffstat (limited to 'weed/command/scaffold.go')
| -rw-r--r-- | weed/command/scaffold.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/weed/command/scaffold.go b/weed/command/scaffold.go index 242bdddd7..08efc50eb 100644 --- a/weed/command/scaffold.go +++ b/weed/command/scaffold.go @@ -277,8 +277,14 @@ directory = "/" # destination directory key = "" expires_after_seconds = 10 # seconds +# jwt for read is only supported with master+volume setup. Filer does not support this mode. +[jwt.signing.read] +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. +# the host name is not checked, so the PERM files can be shared. [grpc] ca = "" |
