psk_authentication.conf.example 462 B

123456789101112131415
  1. ## Pre-Shared Keys authentication
  2. psk_authentication {
  3. ## Set to false to disable
  4. enable = true
  5. ## If init_file is specified, EMQX will import PSKs from the file into the built-in database at startup for use by the runtime
  6. init_file = "psk"
  7. ## The separator between PSKIdentity and SharedSecret in the PSK file
  8. separator = ":"
  9. ## The size of each chunk used to import to the built-in database from PSK file
  10. chunk_size = 50
  11. }