emqx_authz_mongodb_schema.hocon 884 B

123456789101112131415161718192021222324252627282930313233343536
  1. emqx_authz_mongodb_schema {
  2. mongo_rs.desc:
  3. """Authorization using a MongoDB replica set."""
  4. mongo_rs.label:
  5. """mongo_rs"""
  6. mongo_sharded.desc:
  7. """Authorization using a sharded MongoDB cluster."""
  8. mongo_sharded.label:
  9. """mongo_sharded"""
  10. mongo_single.desc:
  11. """Authorization using a single MongoDB instance."""
  12. mongo_single.label:
  13. """mongo_single"""
  14. filter.desc:
  15. """Conditional expression that defines the filter condition in the query.
  16. Filter supports the following placeholders<br/>
  17. - <code>${username}</code>: Will be replaced at runtime with <code>Username</code> used by the client when connecting<br/>
  18. - <code>${clientid}</code>: Will be replaced at runtime with <code>Client ID</code> used by the client when connecting"""
  19. filter.label:
  20. """Filter"""
  21. collection.desc:
  22. """`MongoDB` collection containing the authorization data."""
  23. collection.label:
  24. """collection"""
  25. }