mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-09-08 23:50:43 +02:00
Updated Security Configuration (markdown)
@@ -11,14 +11,21 @@ $ weed scaffold -config=security
|
||||
# /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
|
||||
|
||||
# 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
|
||||
|
||||
# volume server also uses grpc that should be secured.
|
||||
|
||||
# all grpc tls authentications are mutual
|
||||
# the following ca, cert, key are file locations
|
||||
[grpc]
|
||||
ca = ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user