Skip to content

vaultfold vault add

Register a vault: clone a git URL, or use a local directory in place
Usage:
vaultfold vault add <name> <location> [flags]
Flags:
--branch b register the vault kept on the branch b of the code repository at <location>
--expect-head fingerprint refuse unless the chain holds the link with this chain fingerprint, which the admin who added you gave you
-h, --help help for add
--identity n use the profile identity n for this vault
--path p with --branch, the vault directory p inside the branch (default .vaultfold)
--token-file path for a hosted location, the capability token file at path (see hosted.go)
Global Flags:
--json print exactly one JSON document on stdout
--vault name select a vault from the registry by name