Skip to content

Commit ccaf97d

Browse files
committed
Added JWT auth fields to the example config
1 parent 2e1198b commit ccaf97d

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

config.example.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,12 @@ host = "127.0.0.1"
154154
# Port to listen for Signer API calls on
155155
# OPTIONAL, DEFAULT: 20000
156156
port = 20000
157+
# Number of JWT authentication attempts a client can fail before blocking that client temporarily from Signer access
158+
# OPTIONAL, DEFAULT: 3
159+
jwt_auth_fail_limit: 3
160+
# How long to block a client from Signer access, in seconds, if it failed JWT authentication too many times
161+
# OPTIONAL, DEFAULT: 300
162+
jwt_auth_fail_timeout_seconds: 300
157163

158164
# For Remote signer:
159165
# [signer.remote]

0 commit comments

Comments
 (0)