Tutorials
GitHub sync setup
GitHub is not the password manager. It is only the storage location for encrypted vault files that GitVault creates after local encryption.
Visual checkpoint
Before opening GitVault on another device, Settings should show GitHub Sync as connected and a successful sync timestamp or status.
How GitHub is used
GitVault reads and writes encrypted vault data in your private repository. Passwords, notes, TOTP secrets, recovery records, and device registry data are encrypted before they are uploaded.
Create private storage
- 1Create an empty private repository.
Use a normal GitHub account. Keep the repository private and dedicated to GitVault.
- 2Leave normal branch settings.
GitVault only needs repository contents access. You do not need GitHub Pages, Actions, or a public repository for vault sync.
- 3Copy the owner and repository name.
You will enter both values in GitVault Settings.
Token permissions
- 1Open GitHub fine-grained tokens.
Go to Developer settings, then Personal access tokens, then Fine-grained tokens.
- 2Select only the vault repository.
A token scoped to one repository limits damage if the token is exposed.
- 3Grant Metadata read.
GitHub usually selects this automatically.
- 4Grant Contents read and write.
This lets GitVault download encrypted data and upload encrypted updates.
- 5Copy the token immediately.
GitHub shows it once. Paste it into GitVault before closing the page.
Classic tokens are broader than GitVault needs. Use a fine-grained token scoped to the single private vault repository.
Connect GitVault
- 1Unlock GitVault.
Open Settings after the vault is unlocked.
- 2Open GitHub Sync.
Enter GitHub owner, repository name, and the fine-grained token.
- 3Save and run sync.
Wait for success before adding another device.
- 4Check the repository.
You should see encrypted vault files, not readable secret values.
Rotate a token
- 1Create a replacement token first.
Use the same repository and permissions.
- 2Update GitVault Settings.
Paste the new token and confirm sync works.
- 3Revoke the old token in GitHub.
Do this after GitVault confirms a successful sync with the new token.