* chore(conf): add quotation for hocon * chore(conf): fix paths incompatible with hocon * chore(conf): use hocon as parsing function * chore(docker): add quotation to some env variables for hocon
46 lines
995 B
Plaintext
46 lines
995 B
Plaintext
##--------------------------------------------------------------------
|
|
## JWT Auth Plugin
|
|
##--------------------------------------------------------------------
|
|
|
|
## HMAC Hash Secret.
|
|
##
|
|
## Value: String
|
|
auth.jwt.secret = emqxsecret
|
|
|
|
## RSA or ECDSA public key file.
|
|
##
|
|
## Value: File
|
|
#auth.jwt.pubkey = "etc/certs/jwt_public_key.pem"
|
|
|
|
## The JWKs server address
|
|
##
|
|
## see: http://self-issued.info/docs/draft-ietf-jose-json-web-key.html
|
|
##
|
|
#auth.jwt.jwks.endpoint = "https://127.0.0.1:8080/jwks"
|
|
|
|
## The JWKs refresh interval
|
|
##
|
|
## Value: Duration
|
|
#auth.jwt.jwks.refresh_interval = 5m
|
|
|
|
## From where the JWT string can be got
|
|
##
|
|
## Value: username | password
|
|
## Default: password
|
|
auth.jwt.from = password
|
|
|
|
## Enable to verify claims fields
|
|
##
|
|
## Value: on | off
|
|
auth.jwt.verify_claims.enable = off
|
|
|
|
## The checklist of claims to validate
|
|
##
|
|
## Value: String
|
|
## auth.jwt.verify_claims.$name = expected
|
|
##
|
|
## Variables:
|
|
## - %u: username
|
|
## - %c: clientid
|
|
#auth.jwt.verify_claims.username = "%u"
|