emqx.conf 357 B

123456789101112131415161718192021
  1. authentication = [
  2. {
  3. backend = "built_in_database"
  4. mechanism = "password_based"
  5. password_hash_algorithm {
  6. name = "sha256",
  7. salt_position = "suffix"
  8. }
  9. user_id_type = "username"
  10. }
  11. ]
  12. authorization {
  13. deny_action = ignore
  14. no_match = allow
  15. sources = [
  16. {
  17. type = built_in_database
  18. enable = true
  19. }
  20. ]
  21. }