psk_authentication.conf.example 412 B

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