Skip to content
vaultlint

Batch Editing & Domain Mappings

Use regex rules to change names, URIs, usernames, or notes across multiple entries. Preview the changes before applying them, and undo them if needed.

Regex search and replace supports four fields:

name
uri
username
notes

Use --target-mode in the CLI or the target mode selector in the Web UI to choose which values to edit:

Mode Behavior
all Evaluate and apply replacement to all matching items
non-empty Only modify items where the target field already has a value
empty Only populate items where the target field is currently empty
clear Clear the target field on matching items
Terminal window
# Preview upgrading http:// URIs to https:// without writing changes
vaultlint -i vault.json --batch-edit --field uri --pattern "^http://" --replacement "https://" --dry-run
# Normalize item names (lowercase) and URIs (origin-only)
vaultlint -i vault.json -o vault-clean.json --normalize

Map subdomains such as accounts.example.com and login.example.com to a parent domain such as example.com:

Web UI

Manage mappings in the app

Use the Batch edit & domains tab (under Organize). Rules are stored locally in localStorage and contain hostnames, not secrets.

CLI

Load a JSON mapping file

Pass the file path with –domain-mappings <path>.