31 lines
993 B
Plaintext
31 lines
993 B
Plaintext
## Password hash.
|
|
##
|
|
## Value: plain | md5 | sha | sha256 | sha512
|
|
auth.mnesia.password_hash = sha256
|
|
|
|
##--------------------------------------------------------------------
|
|
## ClientId Authentication
|
|
##--------------------------------------------------------------------
|
|
|
|
## Examples
|
|
##auth.client.1.clientid = id
|
|
##auth.client.1.password = passwd
|
|
##auth.client.2.clientid = dev:devid
|
|
##auth.client.2.password = passwd2
|
|
##auth.client.3.clientid = app:appid
|
|
##auth.client.3.password = passwd3
|
|
##auth.client.4.clientid = client~!@#$%^&*()_+
|
|
##auth.client.4.password = passwd~!@#$%^&*()_+
|
|
|
|
##--------------------------------------------------------------------
|
|
## Username Authentication
|
|
##--------------------------------------------------------------------
|
|
|
|
## Examples:
|
|
##auth.user.1.username = admin
|
|
##auth.user.1.password = public
|
|
##auth.user.2.username = feng@emqtt.io
|
|
##auth.user.2.password = public
|
|
##auth.user.3.username = name~!@#$%^&*()_+
|
|
##auth.user.3.password = pwsswd~!@#$%^&*()_+
|