Docs menuOverview

Environments and secrets

LPM CLI keeps project environment variables in a local encrypted vault. LPM.dev Registry adds cloud sync, browser access, organization sharing, deployment-platform connections, and CI access through OIDC policies.

lpm env set DATABASE_URL=postgres://...
lpm env list

lpm login
lpm env push

Local commands work without an account or a network connection. Cloud features need an LPM.dev Registry account and the plan that the table below names.

Choose the right scope

CapabilityAvailability
Local encrypted vaultEvery LPM CLI installation
Named environments and schema validationEvery LPM CLI installation
Personal cloud syncPro plan
Organization cloud sharingOrganization plan
Dashboard accessPaired browser with access to a synced vault
Deployment-platform connectionsPersonal vault on the Pro plan, or organization vault
OIDC pull in CIPersonal project on the Pro plan, or organization project with CI decryption enabled

Organization projects use a separate encryption model for members. An owner or admin can enable CI decryption for each project.

Local vault

Store development, staging, and production values on this machine:

lpm env set API_KEY=local-secret
lpm env set --env=staging API_KEY=staging-secret
lpm env get API_KEY
lpm env list --env=staging

LPM CLI masks values unless you add --reveal. Local secrets explains storage, import and export, schema validation, and project identity.

Cloud sync

On the Pro plan, LPM CLI encrypts a personal vault locally and syncs it through LPM.dev Registry:

lpm env push
lpm env diff
lpm env pull

Cloud sync sends ciphertext and wrapped key material, which is key material encrypted with another key. LPM.dev Registry stores and returns the vault, but it cannot read the secret values. Push and pull operate on the complete project vault, with all of its named environments.

Cloud sync explains overwrite behavior, version conflicts, metadata, and the encryption boundary.

Organization sharing

Organization owners and admins can share a project vault with the organization:

lpm env share --org acme

Each member with access gets a separate copy of the vault's encryption key, wrapped for that member. LPM.dev Registry stores the shared ciphertext, but it never receives the private keys of the members.

Organization sharing explains roles, member access, re-sharing, and offboarding.

Dashboard and deployment platforms

After you pair a browser with an LPM CLI installation that has access, the secrets dashboard can show and edit a synced vault. The browser decrypts and encrypts the values itself.

LPM CLI can also connect a vault to Vercel, Coolify, Fly.io, Railway, or GitHub Actions. Environment values go directly between LPM CLI and the selected platform. LPM.dev Registry stores the encrypted platform credential and the connection metadata.

The OIDC exception

With OIDC, a verified CI workflow can pull one environment without a long-lived LPM.dev Registry token:

lpm env pull --oidc --env=production --output=.env

This change to the trust model is opt-in for each project. When you enable CI escrow, LPM.dev Registry gets protected key material for the project. After LPM.dev Registry verifies the workflow and the policy, it decrypts the requested environment. Then it returns the plaintext to that CI job over TLS.

LPM.dev Registry protects the escrow material with a versioned server key. When the server key rotates, the env values and the policies stay the same.

Before you enable CI escrow, read OIDC for CI.

LPM CLI reference

These pages describe LPM.dev Registry and its trust boundaries. The LPM CLI docs describe every command, flag, local format, and implementation detail: