emqx_authn_schema.hocon 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. emqx_authn_schema {
  2. global_authentication.desc:
  3. """Default authentication configs for all MQTT listeners.
  4. For per-listener overrides see <code>authentication</code> in listener configs
  5. This option can be configured with:
  6. <ul>
  7. <li><code>[]</code>: The default value, it allows *ALL* logins</li>
  8. <li>one: For example <code>{enable:true,backend:"built_in_database",mechanism="password_based"}</code></li>
  9. <li>chain: An array of structs.</li>
  10. </ul>
  11. When a chain is configured, the login credentials are checked against the backends per the configured order, until an 'allow' or 'deny' decision can be made.
  12. If there is no decision after a full chain exhaustion, the login is rejected."""
  13. global_authentication.label:
  14. """Global authentication"""
  15. listener_authentication.desc:
  16. """Per-listener authentication override.
  17. Authentication can be one single authenticator instance or a chain of authenticators as an array.
  18. When authenticating a login (username, client ID, etc.) the authenticators are checked in the configured order."""
  19. listener_authentication.label:
  20. """Per-listener authentication override"""
  21. backend.desc:
  22. """Backend type."""
  23. backend.label:
  24. """Backend Type"""
  25. enable.desc:
  26. """Set to <code>true</code> or <code>false</code> to disable this auth provider."""
  27. enable.label:
  28. """Enable"""
  29. failed.desc:
  30. """Count of query failed."""
  31. failed.label:
  32. """Failed"""
  33. matched.desc:
  34. """Count of this resource is queried."""
  35. matched.label:
  36. """Matched"""
  37. mechanism.desc:
  38. """Authentication mechanism."""
  39. mechanism.label:
  40. """Authentication Mechanism"""
  41. metrics.desc:
  42. """The metrics of the resource."""
  43. metrics.label:
  44. """Metrics"""
  45. metrics_failed.desc:
  46. """The required authentication information is found in the current instance, and the instance returns authentication failure."""
  47. metrics_failed.label:
  48. """Authentication Failed Times"""
  49. metrics_nomatch.desc:
  50. """The number of times the instance was ignored when the required authentication information was not found in the current instance."""
  51. metrics_nomatch.label:
  52. """Nomatch Times"""
  53. metrics_rate.desc:
  54. """The total rate at which instances are triggered, times/second."""
  55. metrics_rate.label:
  56. """Total Triggered Rate"""
  57. metrics_rate_last5m.desc:
  58. """The average trigger rate of the instance within 5 minutes, times/second."""
  59. metrics_rate_last5m.label:
  60. """Average Triggered Rate in Last 5min"""
  61. metrics_rate_max.desc:
  62. """The highest trigger rate the instance has ever reached, times/second."""
  63. metrics_rate_max.label:
  64. """Highest Triggered Rate"""
  65. metrics_success.desc:
  66. """The required authentication information is found in the current instance, and the instance returns authentication success."""
  67. metrics_success.label:
  68. """Authentication Success Times"""
  69. metrics_total.desc:
  70. """The total number of times the current instance was triggered."""
  71. metrics_total.label:
  72. """Total Triggered Times"""
  73. node.desc:
  74. """Node name."""
  75. node.label:
  76. """Node Name."""
  77. node_error.desc:
  78. """The error of node."""
  79. node_error.label:
  80. """Error in Node"""
  81. node_metrics.desc:
  82. """The metrics of the resource for each node."""
  83. node_metrics.label:
  84. """Resource Metrics in Node"""
  85. node_status.desc:
  86. """The status of the resource for each node."""
  87. node_status.label:
  88. """Resource Status in Node"""
  89. rate.desc:
  90. """The rate of matched, times/second."""
  91. rate.label:
  92. """Rate"""
  93. rate_last5m.desc:
  94. """The average rate of matched in the last 5 minutes, times/second."""
  95. rate_last5m.label:
  96. """Rate in Last 5min"""
  97. rate_max.desc:
  98. """The max rate of matched, times/second."""
  99. rate_max.label:
  100. """Max Rate"""
  101. status.desc:
  102. """The status of the resource."""
  103. status.label:
  104. """Status"""
  105. success.desc:
  106. """Count of query success."""
  107. success.label:
  108. """Success"""
  109. }