Updated Security Configuration (markdown)

Chris Lu 2019-06-06 00:20:02 -07:00
parent 172d34a486
commit 0806df9652

@ -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 = ""