Manage EMQX MQTT Users
emqx_manage_authn_usersCreate, delete, or list MQTT user accounts in the EMQX built-in authentication database to manage device connection credentials.
Instructions
Manage MQTT accounts in the EMQX built-in authentication database.
These are the credentials devices use to connect to the broker — not the dashboard login. If no authenticator exists yet, create one in the EMQX dashboard first; without it there is no user table to write to.
Operations enabled on this server: create, delete, read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | No | MQTT username. Required for create and delete. | |
| password | No | Password. Required for create. | |
| operation | Yes | Action to perform. See the tool description for which operations this server allows. | |
| is_superuser | No | Grant ACL-bypassing superuser rights. | |
| authenticator_id | No | Authenticator chain id. | password_based:built_in_database |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| users | No | Users returned by a read. | |
| user_id | No | Subject of a create or delete. | |
| operation | Yes | The operation that was performed. | |
| succeeded | No |