A JSON database controlled via MQTT.
MQTT Vault allows you to create virtual IoT devices that retain their state. These virtual devices communicate over MQTT the same way that many physical IoT devices do, allowing you to control them with the same infrastructure.
For details on using the program, please see manpage.md or run man mqtt_vault after installing.
- Get and set data via MQTT topics
- Data is stored as individual JSON files
- Folder structure corresponds to the topic used to set the data
- Optionally encrypts the broker connection using an SSL certificate
- Supports separate or combined public/private keys
- Optionally encrypts the data stored on disk so it can't be accessed without going through MQTT Vault
- Allows the encryption key to be changed or removed by passing --change-crypt-key
- Data is encrypted using the chacha20poly1305 crate
MQTT Vault is available on the AUR as mqtt_vault
or mqtt_vault-bin
. You can also download the Arch release and extract the files yourself.
Download and extract the FreeBSD.tar.gz release.
Download and extract the Win64.zip release.
Run cargo install mqtt_vault
. Unfortunately, this method does not install the manpage, but you can always grab it from the repo.