First Run
After installing on Linux or macOS - sign in, secure the admin account, confirm CLI access, serve HTTPS, create a vault and set up recovery.
First Run
After installation, a few steps turn a fresh install into one you can rely on: secure the built-in admin account, confirm that vh works from your account, put the console behind HTTPS, create a vault, and set up recovery material before important data goes in.
Checklist
Confirm the service is healthy
1vh statusvh statusexits0when healthy,1degraded,2critical. Ifvhcan't connect, see CLI Access below.Sign in and change the admin password
Each install generates its own
adminpassword and keeps a plaintext copy readable only by root. Sign in with it, then change it (or keep it and delete the file).Confirm CLI access
Run
vhfrom your own account, not withsudo.Serve the console over HTTPS
Create a vault and export its keys
Local Vaults or S3 And R2 Vaults, then Backup And Recovery.
Sign In
1sudo cat /var/lib/vaulthalla/super_admin_initial_passwordOpen http://<host>/ (through the nginx site the package set up) and sign in as admin.
1sudo cat "/Library/Application Support/Vaulthalla/state/super_admin_initial_password"2open http://127.0.0.1:36968Without HTTPS the console answers only on the Mac itself. Sign in as admin.
Then change the password from the account bound to admin:
1vh setup set-super-admin-password
It asks for the new password and removes the plaintext copy. More about signing in, password policy and the console's areas: Web Console.
CLI Access
vh talks to the daemon over a local socket that only members of the service's group can open, and maps each caller to a Vaulthalla user by uid.
The socket is /run/vaulthalla/cli.sock and the group is vaulthalla. If the installer didn't enroll you:
1sudo usermod -aG vaulthalla "$USER"2newgrp vaulthalla3vh setup assign-adminvh setup assign-admin binds admin to your Linux UID when it is still unbound. Until someone claims it, the first non-root user to reach the socket can. Details: CLI Access on Linux.
The socket is /Library/Application Support/Vaulthalla/run/cli.sock and the group is _vaulthalla. The installer enrolled you and bound you to admin, so vh works right away. To add other local users: CLI Access on macOS.
Day-to-day commands (vh vault, vh user, vh api-key, vh vault sync) need no sudo. Only lifecycle commands do: CLI Guide.
Database
The package bootstraps a local PostgreSQL database when one is installed and healthy. If you skipped it (VH_SKIP_DB_BOOTSTRAP=1) or use a remote database:
1sudo vh setup db2sudo vh setup remote-db --host db.example.com --port 5432 --user vaulthalla \3 --database vaulthalla --password-file /root/vaulthalla-db-passwordNothing to do: the package runs its own PostgreSQL 16 cluster, private to Vaulthalla, and set it up at install time. See The Bundled Database.
Next Steps
- Create a local vault or an S3/R2 vault (an S3/R2 vault needs an API key first).
- Share files and add users and roles.
- Export vault keys and plan backups before putting important data in.
- On Linux, browse vaults through the FUSE mount.
