LPM Vault
Manage project secrets, schemas, local history, cloud sync, and platform publishing in the macOS app.
LPM Vault is a free macOS app for project environment variables. Download it from vault.lpm.dev.
The app and LPM CLI share local secrets in your Mac's Keychain. Use either one to change values, then start your application with lpm dev or lpm run. Your application reads normal environment variables. It needs no SDK.
Local use needs no account. An LPM.dev Registry account adds optional cloud sync and platform connections. For terminal workflows and storage on other operating systems, see Local secrets.
Screenshots on this page use a dummy project and example values.
Install the macOS app
LPM Vault requires macOS 14 or later. The download supports Apple silicon and Intel Macs.
- Download the LPM Vault DMG.
- Open
LPM-Vault.dmg. - Drag LPM Vault into Applications.
- Open LPM Vault from Applications.
- Unlock it with Touch ID or your Mac login password.
Install LPM CLI separately to load these values into your local application. In Settings → CLI, use Check Again to find the installed command and its version.
Create a project
A project holds separate sets of values for environments such as development and production.
Its vault ID connects those values to a project folder through lpm.json.
The ID contains no secrets and is safe to commit.
From LPM Vault
- Select New Project above the project list.
- Enter a name, such as
Harbor API. - Select Choose Folder… and choose your application folder.
- Review CLI approval and Local history.
- Select Create Project.
The app adds the project's vault ID to lpm.json and keeps the file's other configuration.
The folder is optional. To link it later, use Connect CLI.
If the folder already links another local project, open that project instead. Creating another project does not recover values for an existing ID.
From LPM CLI
In your application folder, store the first values with lpm env set:
lpm env set [--env <ENV>] <KEY=VALUE>...
# Create the local project and its development values.
lpm env set --env=development API_URL=https://dev.example.com API_TOKEN=demo-token
lpm env list --env=developmentThe first write creates a vault ID in lpm.json. It does not require the app or a login.
Open LPM Vault, then use Refresh in the title bar to load the project.
To import an existing dotenv file, use lpm env import:
lpm env import --env=development .env.developmentThe app and CLI must use the same LPM home.
The default is ~/.lpm. A CLI command with another LPM_HOME uses separate local secrets.
Connect a project to the CLI
Select a project, then select Connect CLI in the title bar.
Choose the folder that holds its package.json.
Write File adds the vault field to lpm.json and preserves existing configuration.
Manual Setup lets you copy the field into the file yourself:
{
"vault": "7f3a1e2c-5b9d-4a8f-b6c1-9b1d2e3f4a5b"
}Copy your project's ID from the app. Do not use this example ID or replace an existing file with this snippet. If the folder links another project, review the warning before you replace the link. Changing the ID selects different secrets. It does not move them.
The CLI uses the project's values only in a folder linked to it on this Mac.
The first CLI command in a folder that isn't linked yet asks you to link it, or run lpm env link there.

Select values for each script
Keep the generated vault field when you add task configuration:
{
"vault": "7f3a1e2c-5b9d-4a8f-b6c1-9b1d2e3f4a5b",
"tasks": {
"dev": { "env": "development" },
"start": { "env": "production" }
}
}Start an existing script through lpm dev or lpm run:
lpm dev
lpm run start
# Override the script's environment for this run.
lpm run start --env=development--env overrides the script's configuration for one run. --env=default selects the default stored environment.
After you change a value in either tool, restart the application. A running process keeps its original values.
Add values and environments
Select New Key to add a name and value to the selected environment.
Use the plus beside the project's environments to add development, staging, or production.
The app displays the default environment as .env and named environments as .env.<name>.
These labels do not create plaintext files.
Select the project to compare environments in All Keys. Select an environment to work with its values. Drift shows keys with different values across environments. Missing shows keys absent from an environment. Use Import… to review a dotenv file before you save its values.

Values stay masked until you reveal them. Copy and export actions release plaintext values. Keep secret values out of screenshots and committed dotenv files. For file precedence and environment fallback, see Local secrets.
CLI approval on macOS
Open Project Settings → CLI approval for the selected project. This controls whether LPM CLI must ask before it reads that project's values.
| CLI approval | Behavior |
|---|---|
| On | Requires Touch ID or your Mac login password before LPM CLI reads the values. A lock appears beside the project in the sidebar. |
| Off | LPM CLI can read the values automatically. |
Changing the setting requires authentication. The setting covers every environment in that project on this Mac. It still applies when the app is locked or closed. Locking the app does not turn CLI approval on for other projects.
New and imported app projects start with CLI approval on, unless you change the default in Settings → CLI. The setting is Ask before the CLI reads a new project. The creation sheet also lets you choose it for one new project. A project created by lpm env set starts with CLI approval off.
If you cancel an approval prompt, the CLI stops before it starts lifecycle hooks or your script.
--no-env-check skips schema value checks and defaults for one run. It does not bypass approval.
For unattended local runs, use a project with CLI approval off.
This permits reads without an approval prompt.
Use a schema
A schema declares the rules for environment variables. LPM Vault reads and edits these rules in lpm.json > envSchema.
Link the project folder through Connect CLI before you edit the schema.
Commit rules with your project, but keep secret values out of the file.
- Select Schema below the project in the sidebar.
- Select a declared key, or select Declare Key to add one.
- Set its rules, such as required, secret, format, or default.
- Review the pending changes and their effect on stored values.
- Save the reviewed changes to
lpm.json.

For example, require an API URL and token, and provide a non-secret port default:
{
"envSchema": {
"vars": {
"API_URL": {
"description": "Base URL for the Harbor API.",
"required": true,
"format": "url"
},
"API_TOKEN": { "required": true, "secret": true },
"PORT": { "default": "3000", "format": "port" }
}
}
}Merge this section into the existing file and keep its vault ID.
Defaults belong in the schema only when they are safe to share.
secret: true masks diagnostics. It does not make a literal default secret.
Rules also support types, allowed values, conditions, groups, and rules for specific environments, stages, or services. Client Prefixes identifies additional prefixes for browser-visible keys. A public variable can reach browser code. Keep credentials out of public variables. See the envSchema reference for the complete fields and supported formats.
Use lpm env schema to inspect declarations without reading stored values. Use lpm env check to validate values:
lpm env schema --json
lpm env check --env=development --jsonlpm dev and lpm run apply schema defaults and stop on invalid required values before startup.
For one run, --no-env-check skips value checks and defaults. Invalid declarations still stop the command.
Project settings
Select Project Settings in the project toolbar. You can also press ⌘I or use the project's context menu.
Change the display name and icon, then select Save. Revert discards those unsaved edits.
The page also shows the linked folder, CLI approval, and Local history. Approval and history changes apply separately from the name and icon. Use Connect CLI to link a different folder.

Delete Locally… removes the project, its Keychain values, and local history from this Mac.
It keeps the application folder, lpm.json, and any synced cloud copy.
Deleting the project locally does not revoke or remove a cloud copy.
Local history
Local history keeps an encrypted record of value changes on this Mac. It includes changes from LPM Vault and LPM CLI. It does not sync to lpm.dev. Set Local history in Project Settings. The default for new app projects is in Settings → General → Keep local history for new projects.
Select History below the project in the sidebar to browse changes. Select an entry to inspect its affected environments and keys. Values stay masked until you reveal them.
Undo This Change… reverses the selected change. Roll Back to This Point… restores values to their state just after that entry and reverses later changes. Review the affected keys and environments before you apply either action. Rollback creates another history entry.
Turning history off deletes the project's history on this Mac and stops recording changes. Current values stay. Turning it on again starts an empty history. Copies in system backups can remain. For terminal commands and recovery details, see local history with lpm env.
Sign in to lpm.dev
Local editing works without a login. To use cloud sync, open Settings → Account & Sync and select Sign In with Browser. Complete the LPM.dev Registry login in your browser, then return to LPM Vault. The account menu at the bottom of the sidebar also offers Sign In….
The app and CLI share the login for the same registry and LPM home. You can also sign in through lpm login:
lpm loginAfter a terminal login, reopen the app or return to it so it can refresh the account. Settings → Account & Sync → Sign Out… ends the shared login. Local Keychain values stay on your Mac.
Sync with lpm.dev
Personal cloud sync requires Pro. Organization sharing requires an active Organization or Enterprise plan. Values are encrypted on your Mac before upload. An account login alone does not recover another device's encryption keys. See device keys and access before you set up another Mac.
To upload a local project, select the sync status in the title bar, then Push to lpm.dev…. Review the project and confirm the push. To fetch its cloud values, choose Pull from lpm.dev…. In the app, a pull merges cloud values into local environments. Cloud values replace matching local keys, while local-only keys stay.
To open a cloud project that is not on this Mac, choose Import from lpm.dev… in the account menu. Select the project to import. For organization projects, select the organization account first. Share with Organization… uploads an organization project for approved members.
Sync is explicit. Local application startup does not pull changes from the cloud. After a pull, restart the application through lpm dev or lpm run. For CLI sync, account keys, and conflict recovery, see lpm env cloud sync.
Connect platforms
Open Platforms from the bottom of the sidebar. Connect the account that holds your deployment target. Vercel, Netlify, GitHub, and Cloudflare connect through your browser. Sign in to your LPM.dev Registry account before you connect these providers. Coolify uses your instance URL and an API token that you create in Coolify. Platform tokens stay in this Mac's Keychain.
| Platform | Publish destination |
|---|---|
| Vercel | A project and its development, preview, production, or custom environment. |
| Netlify | A site and its deployment context or branch. |
| GitHub | Repository or environment secrets and variables for GitHub Actions. |
| Cloudflare | A Worker's secrets. |
| Coolify | An application or service, with its production or preview configuration. |

The connection determines which projects, sites, repositories, or Workers you can select. If a GitHub repository is absent, grant the GitHub App access to it, then reload the choices. The Platforms page also explains how to disconnect and revoke each provider's access.
Publish an environment
- Select the local project, then select Publish… in the title bar.
- Choose Source environment and Platform connection.
- Choose the target project, site, repository, Worker, or Coolify resource.
- Select the destination environment or context where the platform supports one.
- Open Review and inspect the planned actions for each key.
- Select the keys to send, then publish and approve with Touch ID or your Mac password.
The review flags invalid values, public variables, and platform conflicts before you send anything. A platform receives the values you publish. It must be able to use them for builds or application startup. Every publish requires fresh authentication, even when the app is unlocked.
A successful first publish saves the destination. Select it from Publish… to review the next update. Read the result for each key and retry failed keys after you fix the reported problem. New values apply to new deployments. Redeploy through your platform when needed. Publishing values does not deploy application code.
App settings
Open Settings with the gear at the bottom of the sidebar or ⌘,.
Search for a setting by name if you do not know its page.
| Page | Configuration |
|---|---|
| General | Quit shortcut and the local history default for new app projects. |
| Security | Idle lock, value approval, automatic masking, clipboard clearing, and screenshot protection. |
| Appearance | System, light, or dark theme. |
| Account & Sync | Browser login, account details, and sign-out. |
| CLI | Installed command and version, the approval default, and the LPM home. |
| Platforms | Connected provider accounts and access revocation guidance. |
| Backup & Restore | Encrypted backup export, restore, and monthly reminders. |
| Updates | Manual update checks, automatic checks, background installation, and release channel. |
| About | Version, release notes, documentation, and feedback. |
The app locks when your Mac sleeps, the screen locks, or you close its window. It hides values while another app is in front. Security → Hide from screenshots and screen sharing makes app windows blank in captures. To capture dummy data, turn that setting off temporarily, then restore it.

Under CLI, keep the app's LPM home aligned with the terminal's LPM_HOME.
Changing the home can move the shared login and environment data, then relaunch the app.
Review the move choices before you continue.
Under Backup & Restore, export an encrypted backup before you replace or erase a Mac. Keep its passphrase separately. Local history is not a substitute for a backup.