Back up vault keys to 1Password
Every Vaulthalla vault is encrypted with its own key, and a vault whose key is lost can't be read again. Desktop can back up vault keys to your own 1Password, keep every key version the vault's files still need, and put them back on a node when it needs them. It needs no account with Valkyrian Labs.
Keys go from the node to 1Password over this Mac's paired connection. Desktop keeps no copy, and the key bytes never appear in a command line, a file Desktop writes on its own, a log or an AI app.
Set it up
Allow other apps in 1Password
Install the 1Password app on this Mac and sign in. In 1Password, open Settings › Developer and turn on Integrate with other apps. Desktop talks to the 1Password app directly: no 1Password CLI, service account or token is involved.
Choose your account in Vaulthalla
Open Vaulthalla's Settings › 1Password (or Set Up 1Password… on Recovery Keys). Enter the account's name exactly as it appears at the top of 1Password's sidebar, and the 1Password vault to use (
Vaulthallaby default; it is created on the first backup if it doesn't exist). Choose Check, and approve with Touch ID when 1Password asks.Back up
Open Recovery Keys in the sidebar for every node, or a node's own Recovery Keys section. Choose Back Up Now on a vault, or Back up vault keys to back up every vault there that isn't fully backed up.
Turn on Notify me when vault keys need backup in Settings › 1Password to be told when vault keys need backup. Vaulthalla checks every paired node every 5 minutes while it runs. Keys themselves only move when you back up or restore.
Your account needs the server's encryption-key permissions: View to see a vault's key status, Export to back it up. See the server's Secrets And Key Export.
What 1Password holds
One item per vault and node, titled Vaulthalla · <vault> · <node>, in the chosen 1Password vault. It holds the
current key, every earlier key version the vault still needs, each version's key check, and the node's attestation
for it: a public signature that proves the key belonged to that vault and reveals nothing about it. A version is
never overwritten, and none is removed while the node still needs it. Desktop finds the item by the node's and
vault's ids, so renaming either is safe.
Backup status
| Status | Meaning |
|---|---|
| Backed up | 1Password holds the node's current key version with the same key check, and every older version still needed. |
| Needs backup | Never backed up, or the key rotated to a version that isn't in 1Password yet. |
| Rotating | A key rotation is under way. The old key stays in the item meanwhile; back up once it finishes. |
| Mismatch | 1Password and the node disagree about a key. Desktop never resolves this on its own. |
| Key unavailable | The node can't use the vault's key, so the vault doesn't run. Restore it from 1Password. |
| Unknown | The node didn't answer. Never shown as backed up. |
States come from each node's record until you choose Check 1Password, which compares them with what 1Password actually holds, by key check. No key leaves 1Password for that comparison.
Restore keys to a node
Select a vault and choose Restore from 1Password…. The sheet shows what 1Password stores next to what the node reports, and offers three things:
- Verify: the comparison itself, where each key version Matches or Differs from the node's key check.
- Export to File… Writes the keys in the
vh vault keys exportformat to a file you choose, readable only by you. The file holds the vault's keys unencrypted: keep it somewhere only you can read, or encrypt it. On the server it imports withvh vault keys import <vault> --file <file>. - Restore… Sends the versions back to the node over the paired connection. You confirm by typing the vault's name. Only the node's answer calls the vault recovered.
A restore is recovery, not key import. The node accepts a key version only when its own attestation proves the version belonged to that vault. It never accepts a key you made yourself, and a version it can't prove is reported and not written.
A version the node can't prove is usable only through Salvage…, a separate step with its own confirmation: the node re-encrypts the files that key opens under a new key it creates, and reports any file it couldn't open. An interrupted salvage resumes when you run it again.
What this does not do
- It doesn't back up your files, the server's database or its configuration. Those need their own backups: see the server's Backup And Recovery.
- It doesn't back up to anything other than your own 1Password.
- AI apps can never export or import vault keys through Desktop.
