mosquitto - Is there a way to add users programmatically? -
i see mosquito_passwd
used create new users or remove users, there way manage users programmatically? is, without calling external shell command.
mosquitto supports plugins authentication , authorisation. there several plugins available support storing users/passwords in database.
e.g. https://github.com/jpmens/mosquitto-auth-plug/
this plugin supports several different types of databases , includes nodejs modules generated encrypted passwords insert database.
Comments
Post a Comment