MichaIng/DietPi#8237
- Create (Argon2ID) hash via CLI
/opt/vaultwarden/vaultwarden hash: Enter and confirm a strong password, and the command returns the hash.
- Add
ADMIN_TOKEN to /mnt/dietpi_userdata/vaultwarden/vaultwarden.env, or admin_token to the config.json. Need to check path. And we should apply 0640 mode to /mnt/dietpi_userdata/vaultwarden/vaultwarden.env our end, when suggesting this. config.json would be better, to not expose the password to systemd at all.
- Access via
https://<your.IP>:8001/admin.
EDIT: Word-read bit is removed now precautionary: MichaIng/DietPi@60d0bcc
MichaIng/DietPi#8237
/opt/vaultwarden/vaultwarden hash: Enter and confirm a strong password, and the command returns the hash.ADMIN_TOKENto/mnt/dietpi_userdata/vaultwarden/vaultwarden.env, oradmin_tokento theconfig.json. Need to check path. And we should apply0640mode to/mnt/dietpi_userdata/vaultwarden/vaultwarden.envour end, when suggesting this.config.jsonwould be better, to not expose the password to systemd at all.https://<your.IP>:8001/admin.EDIT: Word-read bit is removed now precautionary: MichaIng/DietPi@60d0bcc