How to create user and password for hivemq community edition?

i am using java project from github i.e hivemq community edition and tried mqtt-spy.
now i want to set user and password for the connection? how can i do that? TIA

Hello Sanket,

Thank you for reaching out. To add a username and password for your MQTT connections, please utilize the File RBAC Extension available at this link. If you have any questions or need further assistance, please don’t hesitate to ask.

Regards,
Sheetal from HiveMQ Team

i have downloaded zip file and there are following files located
hivemq-extension.xml config.xml credentials.xml .
i am using hivemq community edition so can you provide me steps to integrate hivemq community edition with hivemq extension-File RBAC.
please consider detailed steps to do above task.
TIA

Hi @sanket,

The installation of the HiveMQ File RBAC extension and the configuration of the credentials.xml file are thoroughly documented with examples here.

If you encounter any specific errors and need assistance with troubleshooting, please share your credentials.xml and HiveMQ broker config.xml, and we will do our best to help.

Best regards,
Dasha from the HiveMQ Team