Command Reference
Operator-oriented reference for Vaulthalla CLI command families and common examples.
This is an operator reference for the command families exposed through vh. Use vh help <namespace> on the host for the exact help text shipped by the installed version.
Global
| Command | Purpose |
|---|---|
vh help |
Show root help. |
vh help <namespace> |
Show help for a namespace or subcommand. |
vh version |
Print the installed CLI version. |
vh status |
Print runtime/service status. |
Setup And Teardown
1vh setup assign-admin2vh setup set-super-admin-password3sudo vh setup db4sudo vh setup remote-db --host <host> --port 5432 --user <user> --database <name> --password-file <path>5sudo vh setup nginx --domain vault.example.com6sudo vh setup nginx --domain vault.example.com --certbot7sudo vh setup nginx --domain vaulthalla.dev --s3-domain s3.vaulthalla.dev --certbot-dns-cloudflare /etc/vaulthalla/certbot/cloudflare.ini8sudo vh teardown nginx9sudo vh teardown db10sudo vh setup caddy --domain <name> [--s3-domain <name>|none] [--internal] [--ca-scope <domain>]11sudo vh setup caddy --domain <name> --email <address> [--acme-staging]12sudo vh setup caddy --domain <name> --dns-cloudflare <credentials>13sudo vh setup caddy --domain <name> --cert <file> --key <file>14sudo vh setup caddy [--listen <address>] [--trust] [--hosts-entry] [--dry-run] [--status]15sudo vh teardown caddy [--purge]
setup db, setup remote-db, setup nginx and their teardowns are Linux commands; setup caddy and teardown caddy (alias https) are macOS commands, and each platform says so instead of running the other's. Every setup caddy option is described in Serve Vaulthalla With Caddy.
The --s3-domain form needs a Cloudflare API token in a root-only credentials file (dns_cloudflare_api_token = <token>). See S3 Gateway Setup.
setup assign-admin and setup set-super-admin-password are normal CLI commands. setup set-super-admin-password changes the web console password of the built-in admin account; only the local user bound as the super admin may run it, without sudo, and it removes the generated initial password file. The database, remote database, nginx, Caddy, and teardown commands are privileged lifecycle commands and must be run with sudo.
setup nginx checks for the generated initial admin password first. If it is still in use and its plaintext copy (/var/lib/vaulthalla/super_admin_initial_password) still exists, it offers to change the password, delete the file and keep the password, continue, or cancel. Run without a terminal, it warns and continues.
Users
Aliases include vh users, vh user, and vh u.
1vh user create <username> --role <role-or-id> [--email <email>] [--linux-uid <uid>]2vh user info <username-or-id>3vh user update <username-or-id> --name <new-name> --email <email> --role <role-or-id> --linux-uid <uid>4vh user delete <username-or-id>5vh user mfa status <username-or-id> [--json]6vh user mfa reset <username-or-id> [--reason <text>] [--yes]7vh user mfa require <username-or-id> [--off]
vh user mfa reset is the host recovery for an account that lost every second factor, including the sole super
admin: its passkeys and authenticator apps are disabled, its recovery codes voided, every session signed out and the
key-backup grants of its paired devices revoked (they stay paired); it sets up a new factor at its next sign-in, and
sensitive actions wait for the recovery cooldown. Run it as the Linux user bound to your own account (for yourself)
or to an account that may reset the target's password; never with sudo (root is refused). A super admin's MFA only
a super admin may reset. vh user mfa require can't change your own account. See Multi-Factor Sign-In.
The built-in super_admin role and user are protected from normal create, update, and delete operations.
Groups
1vh group create <name> [--desc <description>] [--linux-gid <gid>]2vh group info <name-or-id>3vh group update <name-or-id> --name <new-name> --desc <description> --linux-gid <gid>4vh group delete <name-or-id>5vh group user add <group> <user>6vh group user remove <group> <user>7vh group users <group>
Use groups when permissions should follow a team rather than an individual user.
Roles And Permissions
List supported permissions:
1vh permissions2vh permissions --type user3vh permissions --type vault
Admin roles:
1vh role admin list2vh role admin info <role>3vh role admin create <name> --manage-users --manage-vaults4vh role admin update <role> --audit-log-access5vh role admin delete <role>
Vault roles:
1vh role vault list2vh role vault info <role>3vh role vault create <name> --list --download --sync4vh role vault update <role> --share5vh role vault delete <role>
Admin permissions include user, group, role, vault, API key, encryption key, audit, and admin management capabilities. Vault permissions include list, create, download, delete, rename, move, share, sync, version, tag, metadata, file lock, access, and vault management capabilities.
API Keys
Aliases include vh api-key, vh aku, and vh ak.
1vh api-key list2vh api-key create <name> \3 --access <access-key> \4 --secret <secret-key> \5 --provider <provider> \6 --endpoint <url> \7 [--region <region>]8vh api-key info <name-or-id>9vh api-key delete <name-or-id>
Supported provider values include aws, cloudflare-r2, wasabi, backblaze-b2, digitalocean, minio, ceph, storj, and other.
Cloudflare R2 example:
1vh api-key create r2-main \2 --access <access-key> \3 --secret <secret-key> \4 --provider cloudflare-r2 \5 --endpoint https://<account-id>.r2.cloudflarestorage.com
The endpoint is required. The default region is auto.
Backblaze B2 example (the endpoint is the account's S3 endpoint, and the region the one it names):
1vh api-key create b2-main \2 --access <keyID> \3 --secret <applicationKey> \4 --provider backblaze-b2 \5 --endpoint https://s3.us-west-004.backblazeb2.com \6 --region us-west-004
A credential whose provider contradicts its endpoint (an AWS, Cloudflare R2 or Backblaze B2 endpoint saved under another provider) is refused.
Upstream Buckets
An AWS S3, Cloudflare R2 or Backblaze B2 credential can also administer its account's buckets. See Managed Upstream Buckets for what each provider supports and the permissions involved.
1vh upstream admin enable <api-key> [--provider-token | --clear-provider-token]2vh upstream admin disable <api-key>3vh upstream admin status <api-key> [--probe]4vh upstream buckets <api-key> [--state managed|adopted|unmanaged|protected] [--filter <text>] [--limit <n>] [--page-token <token>]5vh upstream inspect <api-key> <bucket>6vh upstream adopt-check <api-key> <bucket> [--max-objects <n>] [--sample <n>]7vh upstream protect <api-key> <bucket> --reason <text>8vh upstream unprotect <api-key> <bucket> [--yes]9vh upstream lifecycle <api-key> <bucket> [--abort-multipart-days <n>] [--expire-days <n>] [--expire-noncurrent-days <n>] [--prefix <p>] [--clear] [--yes]10vh upstream detach <api-key> <bucket>11vh upstream cleanup <api-key> <bucket> [--preflight] [--confirm-token <token>] [--keep-bucket]12vh upstream events enable|disable|repair <vault>13vh upstream events status [<vault>]14vh upstream audit [--bucket <bucket>] [--limit <n>]
admin status --probe checks what the credential can do without changing anything and marks each capability
available or missing. For a Backblaze B2 key, lifecycle, versioning and the two events capabilities are always
missing: B2's S3-compatible API has no lifecycle or event-notification calls and its buckets are always versioned, so
upstream lifecycle and event-driven sync are refused for B2 with that reason. --provider-token is for Cloudflare
R2 only.
Create a vault together with a new bucket, or adopt an existing one, with a credential that has provider administration enabled:
1vh vault create media --s3 --api-key aws-admin --bucket-mode create --generate-bucket --region us-east-22vh vault create media --s3 --api-key b2-admin --bucket-mode create --bucket acme-media-vault3vh vault create archive --s3 --api-key b2-admin --bucket legacy-photos --bucket-mode adopt
--bucket-mode is existing (the default: bind --bucket as named), create or adopt. With create, --region
takes an AWS region or an R2 location hint; Backblaze B2 buckets are always created in the key's own region. B2
bucket names have 6 to 63 characters, can't start with b2-, and are shared by every Backblaze account: a name
someone else holds is refused as taken. --events and --abort-multipart-days are for AWS S3 and Cloudflare R2.
Vaults
1vh vaults2vh vaults --local3vh vaults --s3 --limit 54vh vaults --json5vh vault list --accessible [--json]6vh vault info <id-or-name> [--owner <user-or-id>]7vh vault delete <id-or-name> [--owner <user-or-id>] [--now] [--delete-upstream | --keep-upstream] [--accept-key-loss] [--yes]8vh vault deleted [--json]9vh vault restore <id-or-name> [--owner <user-or-id>]
vh vaults lists the vaults your admin role lets you view. vault list --accessible lists every vault you can reach and how: as its owner, through a vault role assigned to you or to one of your groups, through your admin role, or as a super admin. Each row says whether you can browse the vault's files and whether you can manage its settings, decided by the same permission checks that apply when you open it. An account whose only access is owning a vault or holding a vault role sees nothing in vh vaults, and those vaults here. Owning a vault opens nothing by itself: without a vault role or an admin role that grants it, its row shows neither browse nor manage. --accessible takes no filters or paging.
vault delete schedules the deletion: the vault disappears at once and vault restore brings it back until vaults.retention_window ends (default 5m); then its data is purged. --now purges right away and needs --yes (or a typed confirmation in a terminal). For S3 vaults, --delete-upstream also deletes the bucket's objects at purge time; the default keeps them, and keeping encrypted objects whose key was never exported needs --accept-key-loss. In a terminal, without --yes, the command asks instead. vault deleted lists pending, purging and purged vaults whose key is still kept. See Deleting And Restoring Vaults.
Create a local vault:
1vh vault create docs --local --desc "Team documents" --quota 50G --on-sync-conflict keep_both
Create an S3/R2 vault:
1vh vault create archive \2 --s3 \3 --api-key r2-main \4 --bucket vaulthalla-archive \5 --sync-strategy cache \6 --on-sync-conflict keep_local \7 --encrypt
Update a vault:
1vh vault update archive --sync-strategy sync --interval 15m
Vault Access
Assign a vault role to a user or group:
1vh vault role assign <vault> <role-id> --user alice2vh vault role assign <vault> <role-id> --group operators
Remove a vault role:
1vh vault role unassign <vault> <role-id> --user alice2vh vault role list <vault>
Add permission overrides for a path pattern:
1vh vault role override add <vault> --user alice --pattern "/finance/*" --download --disable2vh vault role override list <vault>3vh vault role override remove <vault> <override-id>
Sync
1vh vault sync <vault>2vh vault sync info <vault>3vh vault sync set <vault> --interval 15m4vh vault sync dry-run <vault>5vh vault sync inventory <vault> --file inventory.csv6vh vault sync events <vault> --file s3-events.json7vh vault sync reconcile <vault> --allow-list-scan
S3/R2 sync policy fields include strategy, conflict policy, interval, request budgets, and maximum remote-index age. See Sync and Request Budgets.
Sync Conflicts
Conflicts recorded under the ask policy (S3/R2 vaults) wait for a decision:
1vh sync resolve # interactive session (needs a terminal)2vh sync resolve --list [--vault <vault>] [--json]3vh sync resolve <id>... --keep-local | --keep-remote [--json]4vh sync resolve --vault <vault> --all --keep-local | --keep-remote [--yes]
vh resolve takes the same arguments. Keep local uploads the local copy over the remote object; keep remote downloads the remote object over the local copy. A decision needs vault.sync.action.resolve_conflicts and Overwrite on the file, and is refused when either side changed since the conflict was recorded. Exit status is 2 when any conflict was not resolved; each one is reported with its reason. Without a terminal, --all needs --yes. See Resolving Conflicts.
Vault Files
1vh fs ls <vault> <path> [--owner <user>]2vh fs get <vault> <path> [-o <file>|-] [--owner <user>]3vh fs put <vault> <local-file|-> <path> [--overwrite] [--owner <user>]4vh fs mkdir <vault> <path> [--owner <user>]5vh fs mv <vault> <from> <to> [--owner <user>]6vh fs rm <vault> <path> [--recursive] [--owner <user>]
vh fs is the command-line file path for hosts without a mount, which includes every Mac: the macOS server never
mounts vaults, and Finder access belongs to Vaulthalla Desktop. It moves single files; for bulk transfers and sync
clients use the S3 gateway.
Reads and writes vault files without a mount, through the control socket. vh itself reads the local file (or standard input) for put and writes the local file for get; the daemon only ever sees the vault path. Permissions are the web console's: ls needs List, get needs Read, put needs Write on the new path (missing folders are created) and --overwrite needs Overwrite on the existing file. A path you can't read reports "permission denied" whether or not it exists.
get -o <file> writes to a temporary file next to <file> and replaces <file> only when every byte arrived and the stored file passed its integrity check; anything else leaves <file> as it was. Without -o, the bytes go to standard output, and vh refuses to write them to a terminal unless you pass -o -. A put stores nothing unless the whole file arrives, and a replacement fails if the file changed while uploading. Removing someone's access stops their running transfer.
mkdir, mv and rm do what the web console's folder, move, rename and delete actions do, with the same permissions (Touch for a new folder; Rename within a folder, Move into another; Delete) and the same audit events. rm moves a file to the vault's trash, from where it can be restored; a folder is removed with its files going to the trash, and one that isn't empty needs --recursive. mkdir creates one folder in an existing one, and mv never replaces an entry at its destination. On a copy of another server's vault that is read-only here, all three exit 69.
Exit status: 0 done; 64 invalid arguments; 65 a damaged or incomplete transfer; 66 no such file (local or, where you can read, in the vault); 1 (rm) a folder that isn't empty without --recursive; 69 the vault is read-only here; 73 the vault path exists (no --overwrite; for mkdir and mv, the path or destination) or the local output can't be written; 74 reading or writing a local file failed; 75 too many transfers in progress; 77 permission denied.
Vault Keys
1vh vault keys export <vault-or-all> --recipient <gpg-fingerprint> --output vaulthalla-vault-keys.json.gpg2vh vault keys export <vault-or-all> --output vaulthalla-vault-keys.json3vh vault keys rotate <vault-or-all> [--sync-now]4vh vault keys import <vault> --file <export>|--recovery-kit <kit> [--salvage]5vh vault keys recipient list <vault>6vh vault keys recipient add <vault> --public-key <key> [--label <text>]7vh vault keys recipient revoke <vault> <grant-id>
recipient enrolls a public key from a recovery kit, so every key version of an S3 vault is wrapped to it in the
vault's bucket; import --recovery-kit restores keys with that kit after the host's vault master was lost. See
Recovery Recipients.
1vh vault recover --api-key <name-or-id> --bucket <bucket> --kit <kit> [--export <keys>] [--into <name>] [--dry-run] [--accept-rollback] [--salvage]
Rebuilds an opaque_v1 S3 vault on this server from its bucket and your recovery kit (or a key export) after the
original server is gone. --dry-run writes nothing. See
Restore A Vault From Its Bucket.
The offline tool vh-recovery creates and maintains the kit on your own computer:
1vh-recovery kit create --output kit.json2vh-recovery kit public-key kit.json3vh-recovery kit add-vault kit.json --status status.json4vh-recovery kit show kit.json
Unencrypted key exports are dangerous. Prefer --recipient and --output.
Vault Read Grants
1vh vault read-grant recipient add --fingerprint <fingerprint> --key-file <file|-> | --keyserver <https-url> [--label <text>]2vh vault read-grant recipient list [--all]3vh vault read-grant recipient remove <fingerprint>4vh vault read-grant issue <vault> --recipient <fingerprint> [--recipient <fingerprint>] [--gateway-only] [--json]5vh vault read-grant list [--vault <vault>] [--all] [--json]6vh vault read-grant show <grant> [--ciphertext]7vh vault read-grant revoke <grant>
A read grant is a read-only S3 gateway credential plus a read-only upstream key (Backblaze B2) for one vault, returned
only as an OpenPGP message encrypted to pinned recipients. Pinning a recipient is for super admins (step-up of family
secrets; agents refused); issuing needs vault.sync.action.read_grants on the vault. See
Vault Read Grants.
Vault Format
1vh vault format status <vault-or-all> [--json]
Shows how much of each vault is still stored in the legacy encryption format: live files and recovery blobs (snapshots, local versions, upstream backlog), as items and bytes, the background conversion's state and what its last pass did. See Encryption.
Vault Layout Migration
1vh vault migrate-layout <vault> --status [--json]2vh vault migrate-layout <vault> [--accept-unpriced]3vh vault migrate-layout <vault> --cleanup [--confirm <vault name>]
Moves an encrypting S3/R2 vault from path-named objects (path_v0) to opaque storage (opaque_v1): starts it (or
resumes it after a failure), shows where it stands, and after the waiting period lists and then deletes the old
path-named object versions. See Migrating A Vault To Opaque Storage.
Vault Storage
1vh vault storage probe <vault> [--json]
Probes what the vault's bucket supports for writes that must never overwrite another writer's object (conditional
PUT honoured, rejected or ignored; object versions; GET with If-Match), records the result and deletes the few probe
objects it wrote. Every bucket is probed when a vault is created on it or moved to it; run this after the endpoint or
provider changed, or when a vault reports bucket_capability_changed. See
Providers Without Conditional Writes.
Vault Remote
1vh vault remote attach <vault> --api-key <key> --bucket <name> [--storage-tier <tier>] [--accept-unpriced] [--json]2vh vault remote detach <vault> --confirm <vault name> [--json]3vh vault remote access <vault> --set <full|read-only|none> [--reason <text>] [--json]4vh vault remote status <vault-or-all> [--json]5vh vault remote abort <vault> --confirm <vault name> [--json]
Turns a local vault into an S3/R2 vault in place: attach checks the vault and the bucket, then uploads the vault's
files in the background while it stays in use and switches it to the bucket once everything is verified; status
follows it; abort stops it before the switch and deletes what it uploaded. See
Attaching A Bucket To A Local Vault. detach does the
reverse: it fetches and verifies every file on this server, copies the recovery envelopes into the database and then
makes the vault local, leaving the bucket as it is; abort stops a detach before the switch too. See
Detaching A Bucket From A Vault. access limits what an
S3/R2 vault may do with its bucket (read-only: no uploads, deletes or manifest publish; none: no request at all); see
Remote Access.
File Recovery
Earlier versions of files come from three places: local snapshots you take, local versions kept automatically when
local versioning is on, and the provider's own object versions (an AWS S3 bucket with versioning enabled, or a
Backblaze B2 bucket, which always keeps versions). Their
ids are snap-<id>, lv-<id> and pv-<id>. Undeleting a whole vault is vh vault restore, not this.
Vault settings:
1vh vault recovery status <vault> [--refresh] [--json]2vh vault recovery set <vault> [--mode off|local-snapshots|provider-versioning] [--retention 30d|90d|365d|indefinite]3 [--snapshot-quota <size>] [--cost-alert <amount>|none]4 [--local-versioning on|off] [--keep-last <n>] [--max-age-days <n>] [--version-quota <size>]5 [--accept-unpriced] [--accept-retention-shortening] [--adopt-bucket] [--yes]6vh vault recovery disclosure <vault> [--retention <r>] [--json]7vh vault recovery suspend <vault> [--yes]
--mode provider-versioning always fetches and prints the cost disclosure first (provider, bucket, region, storage
class, current data, observed or illustrative write traffic, the estimated monthly additional storage, growth over
12 months, retention, confidence and catalog freshness, what is not included, and the consequences, including that
AWS can't return a bucket to unversioned, only suspend it). In a terminal you then type ENABLE VERSIONING, and when
the cost can't be estimated you accept that separately (ACCEPT UNPRICED). Without a terminal it needs --yes, plus
--accept-unpriced when unpriced. A shorter retention deletes history sooner and is asked separately (SHORTEN, or
--accept-retention-shortening), and so is adopting the vault's unmanaged bucket (ADOPT, or --adopt-bucket).
--retention takes 30d, 90d, 365d, indefinite or any number of days from 1 to 36500; there is no default.
Changing the mode never suspends a versioned AWS bucket; suspend does (type SUSPEND, or --yes), and it deletes
nothing. On Backblaze B2 (always versioned, no suspend), --mode off or --mode local-snapshots makes the bucket keep
only the latest version, and --retention is B2's lifecycle rule; whenever that deletes history that exists now it
needs --accept-retention-shortening (and, in the web console, a step-up). See
Provider Versioning On Backblaze B2. Local versioning flags you leave out keep their stored values; --keep-last 0, --max-age-days 0 and
--version-quota 0 remove the limit, and --cost-alert none clears the alert.
Snapshots and recovery points:
1vh snapshot create <vault> <path> [--name <name>] [--json]2vh snapshot list <vault> [path] [--json]3vh snapshot delete <snap-id> [--yes]4vh recovery list <vault> [path] [--refresh] [--snapshots-only|--versions-only|--provider-only] [--limit <n>] [--json]5vh recovery inspect <recovery-id> [--json]6vh recovery delete <recovery-id> [--yes]
Snapshots need the mode local-snapshots. recovery list with a file path shows that file's history; --refresh
lists the provider's versions of the path first (metadata only). You only see points you can read. recovery delete
removes snapshots and local versions (type DELETE, or --yes); provider versions are removed by the bucket's
retention, and a local version still waiting to be uploaded can't be deleted.
Restoring:
1vh recovery plan <recovery-id> [--to <path>] [--json]2vh recovery plan <vault> <path> --at <ISO-8601 time> [--prune] [--to <path>] [--json]3vh recovery restore <recovery-id> [--to <path>] [--yes] [--accept-unverified] [--json]4vh recovery restore <plan-id> --token <token> [--accept-unverified] [--json]
plan changes nothing: it shows what each item would do (create, overwrite, skip, conflict, remove, unavailable),
the size and method, a provider request and cost estimate, warnings and blockers, and the plan id and token (valid 30
minutes). A plan with --at is a timestamp-based reconstruction from each file's version history, not an atomic
snapshot; only a local snapshot is taken in one pass. It needs an S3 vault with provider versions. --prune also
removes files that did not exist at that time.
restore <recovery-id> plans, shows the plan and asks before it runs; type RESTORE when anything is overwritten or
removed (a plain yes/no otherwise). --yes skips the question for scripts. A plan made with vh recovery plan runs
with its id and the --token it printed, which is the confirmation. Every item is authorized again, and a destination
that changed after the plan was made is reported as a conflict and left alone. Provider versions Vaulthalla did not
write need --accept-unverified (or type UNVERIFIED). The exit status is 1 when anything was not restored and 2
when the restore was refused; run the plan again (<plan-id> --token) to resume an interrupted or partial restore.
See File Recovery for how each kind of history works and what it costs.
Costs:
1vh recovery costs <vault> [--json]
Shows the versioning surcharge separately from the current object storage, the cost of recovery operations and what is not modelled, with ranges, the basis of each figure (observed, scenario or illustrative) and the price catalog's freshness. A figure that can't be estimated says so and why; it is never shown as zero. The figures are computed on the host and are estimates, not provider invoices.
Devices
1vh device pair # open a 10-minute pairing window and approve by number matching2vh device pair --json # only open it; print its expiry, device port, node id and server key3vh device pending4vh device approve 7f3a9c1d2e4b6a80 --code 4829135vh device deny 7f3a9c1d2e4b6a806vh device list [--all] [--json]7vh device rename 3 "Studio Mac"8vh device revoke 39vh device remote status10vh device remote enable11vh device remote disable
A paired device acts as your account. --all and remote are for super admins. See Paired Devices.
Audit Trail
1vh audit list [--action <prefix>] [--since <date>] [--until <date>] [--limit <n>] [--json]2vh audit verify [--json]3vh audit export [--since <date>] [--until <date>] > audit.ndjson
Read the tamper-evident audit trail. All three need the view audits admin permission and are themselves recorded. Dates are YYYY-MM-DD (UTC) or Unix seconds. verify exits with status 1 when the trail was altered. See Audit Trail.
Internal Secrets
1vh secret set db-password /root/db-password2vh secret set jwt-secret /root/jwt-secret3vh secret export db-password --recipient <gpg-fingerprint> --output db-password.json.gpg4vh secret export jwt-secret --recipient <gpg-fingerprint> --output jwt-secret.json.gpg5vh secret export all --recipient <gpg-fingerprint> --output vaulthalla-secrets.json.gpg
secret set reads the secret value from the file path you pass.
1vh secret master status --slot all # every data-wrapping master: version, rotation, window2sudo vh secret master rotate [--slot vault|api-keys|s3-gateway] [--window-hours <hours>]3vh secret master rollback|finalize [--slot vault|api-keys|s3-gateway]4sudo vh secret jwt rotate # everyone signs in again5sudo vh secret device-identity rotate # every paired device pairs again6vh secret policy # PCR 7 binding of the sealed secrets, last export, warnings7sudo vh secret reseal [--pcr7|--none] # rebind every sealed secret to secrets.tpm_pcr_policy
Super admins only, each asking to confirm (--yes without a terminal), and never available to agents. See
Rotate The Vault Master and the sections after it. reseal
and policy are the opt-in TPM PCR 7 binding: Bind Secrets To Secure Boot. vh secret export all records that an export was taken, which reseal --pcr7 requires within 24 hours.
S3 Gateway
1vh s3-gateway status2vh s3-gateway enable3vh s3-gateway disable4vh s3-gateway creds create laptop --scope user-access --json5vh s3-gateway creds list6vh s3-gateway creds create backup --scope vault-allowlist --default-role reader --selected-vault archive --json7vh s3-gateway creds scope backup set --scope vault-allowlist --default-role reader --selected-vault archive8vh s3-gateway creds role assign backup --vault archive --role contributor9vh s3-gateway creds role override add backup --vault archive --pattern "/private/*" --permission download --effect deny10vh s3-gateway creds role override list backup --vault archive11vh s3-gateway creds role override remove backup --vault archive 4212vh s3-gateway creds role revoke backup --vault archive13vh s3-gateway bucket create-local archive14vh s3-gateway bucket bind archive --vault 12 --mode local15vh s3-gateway upstream create vl-b2 --api-key b2-main --no-encrypt --sync-strategy mirror --on-sync-conflict keep_local16vh s3-gateway upstream list17vh s3-gateway upstream show vl-b218vh s3-gateway upstream update vl-b2 --bucket-prefix acme-19vh s3-gateway upstream update vl-b2 --versioning 30d --accept-versioning20vh s3-gateway upstream delete vl-b221vh s3-gateway creds scope backup set --upstream vl-b222vh s3-gateway creds scope backup set --upstream vl-b2 --allow-upstream r2-edge23vh s3-gateway creds scope backup set --upstream server-default --reapply off24vh s3-gateway creds scope backup set --upstream local25vh s3-gateway budget set-key backup --monthly 5 --mode enforce --currency USD
vh s3-gateway upstream manages upstream profiles: what a CreateBucket through the gateway creates in a provider account. creds scope <credential> set --upstream <profile>|server-default|local chooses it for one credential, and creds scope <credential> show reads it back (with --json, under upstream). See Upstream Profiles.
Gateway authorization is RBAC-native. user_access inherits the principal user's Vaulthalla RBAC. vault_allowlist uses selected vaults plus a key-level default vault role and optional per-vault exceptions. global requires an admin principal and a key-level default vault role. Boolean credential scope flags and creds scope allow-vault remain compatibility shorthand only.
Pricing Budgets
1vh pricing budget list2vh pricing budget set-global --mode warn --max-daily 5 --currency USD3vh pricing budget set-provider aws-s3 --mode enforce --max-run 1 --max-daily 104vh pricing budget set-vault <vault> --mode report --max-run 0.255vh pricing budget status6vh pricing budget ledger --limit 1007vh pricing budget disable-vault <vault>
See Price Budgets.
1vh email provider resend set2vh email provider ses set3vh email doctor4vh email test --dry-run5vh email test --send --to [email protected]6vh email history --limit 100
See Operator Emails.
AI Agents (MCP)
1vh skill install --agent claude # skill + `claude mcp add --scope user vaulthalla -- vh mcp`2vh skill install --agent codex --scope project # ./.agents/skills/vaulthalla3vh skill install --agent claude --no-register --force4vh mcp # the stdio MCP server an agent starts
Key and secret export, secrets update, the master secret, JWT and device identity rotations, setup, teardown and
fs get|put are never available to agents. See
AI Agents And MCP.
