mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Updated Security Configuration (markdown)
parent
172d34a486
commit
0806df9652
|
@ -11,14 +11,21 @@ $ weed scaffold -config=security
|
||||||
# /etc/seaweedfs/security.toml
|
# /etc/seaweedfs/security.toml
|
||||||
# this file is read by master, volume server, and filer
|
# this file is read by master, volume server, and filer
|
||||||
|
|
||||||
# the jwt signing key is read by master and volume server
|
# the jwt signing key is read by master and volume server.
|
||||||
# a jwt expires in 10 seconds
|
# a jwt defaults to expire after 10 seconds.
|
||||||
[jwt.signing]
|
[jwt.signing]
|
||||||
key = ""
|
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.
|
# volume server also uses grpc that should be secured.
|
||||||
|
|
||||||
# all grpc tls authentications are mutual
|
# all grpc tls authentications are mutual
|
||||||
|
# the following ca, cert, key are file locations
|
||||||
[grpc]
|
[grpc]
|
||||||
ca = ""
|
ca = ""
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue