authentication: { enable: false authenticators: [ # { # name: "authenticator1" # mechanism: password-based # server_type: built-in-database # user_id_type: clientid # }, # { # name: "authenticator2" # mechanism: password-based # server_type: mongodb # server: "127.0.0.1:27017" # database: mqtt # collection: users # selector: { # username: "${mqtt-username}" # } # password_hash_field: password_hash # salt_field: salt # password_hash_algorithm: sha256 # salt_position: prefix # }, # { # name: "authenticator 3" # mechanism: password-based # server_type: redis # server: "127.0.0.1:6379" # password: "public" # database: 0 # query: "HMGET ${mqtt-username} password_hash salt" # password_hash_algorithm: sha256 # salt_position: prefix # } ] }