Platform integrations
LPM CLI can compare and synchronize a local project environment with Vercel, Coolify, Fly.io, Railway, or GitHub Actions.
Application keys and values travel directly between LPM CLI and the selected platform. LPM.dev Registry stores the connection, returns its credential to an authorized LPM CLI session, and records bounded operation metadata.
Supported platforms
| Platform | Target | Read behavior |
|---|---|---|
| Vercel | Production, preview, or development variables | Values are readable and can be pulled. |
| Coolify | Production or preview application values | Readable values can be pulled. |
| Fly.io | Application secrets | Secrets are write-only. LPM CLI can compare only their names. |
| Railway | Service or shared environment variables | Values are readable and can be pulled. |
| GitHub Actions | Repository or GitHub environment variables and secrets | Variables are readable. Secrets are write-only. |
Connect a platform
Run the connection command from the local env project. For example:
lpm env connect vercel \
--project=<vercel-project-id> \
--linked-env=production \
--target=production
LPM CLI prompts for the platform credential and does not show it. It verifies the target directly with the platform. Then it saves the connection through LPM.dev Registry.
Each env project has one connection for each platform. Each provider needs different target identifiers and credential permissions. Use the LPM CLI platform reference for every connection flag and provider-specific setup requirement.
Availability
| Env project | Requirement |
|---|---|
| Personal | Pro account |
| Organization | Active Organization or Enterprise plan. The caller must be an owner or admin |
For an organization project, add --org=<slug> to connect, push, pull, and status.
Connecting and synchronizing are LPM CLI operations. The dashboard can list connection metadata and disconnect a connection, but it does not create connections or run synchronization.
Push, compare, and pull
lpm env push --to vercel --env=production
lpm env status
lpm env pull --from vercel --env=production
| Operation | Behavior |
|---|---|
push --to <platform> | Adds missing values and updates changed values. Platform-only values remain. |
push --to <platform> --clean | Also removes platform-only values from the configured target. |
status | Compares the linked local environment of each connection with its platform. It changes neither side. |
pull --from <platform> | Imports readable platform values, overwrites matching local keys, and preserves local-only keys. |
Push and pull list the keys and ask for confirmation before they change anything. --yes skips the prompt.
--linked-env selects a connection's default local environment. --env=<name> overrides it for one operation.
Cloud vault sync and platform deployment are separate:
lpm env push # encrypted personal vault → LPM.dev Registry
lpm env push --to railway # local values → Railway
They are not one transaction. If one command fails, correct the cause and run that operation again.
Readable and write-only values
Vercel and Railway return readable values. Coolify returns readable application values if the credential has the necessary permissions.
Fly.io secrets are always write-only. GitHub Actions secrets are also write-only. GitHub Actions variables are readable. For write-only values:
- Status compares only the names. It cannot compare the values.
- Pull skips the secret values.
- Push refreshes the selected secret values.
--cleancan remove extra secret names from the configured target.
Provider notes
Vercel
A connection selects a Vercel project and optionally a team. It can target production, preview, development, or a combination of those deployment targets. Without --target, it targets all three.
Coolify
The token must belong to a team administrator and allow read, write, and read:sensitive, or be a root token. A connection targets either production or preview application values.
If the target has a shared-variable reference or a shown-once value, LPM CLI stops and names the key. Convert that value to a readable application value before you synchronize.
Fly.io
A connection is bound to one Fly.io application and its organization. Fly.io does not return secret plaintext, so pull cannot recover application secret values.
Railway
A connection selects a project environment and either one service or the environment's shared variables. Account, workspace, and OAuth tokens use bearer authentication. For a project token, add --project-token.
GitHub Actions
A connection targets repository-level Actions values or one GitHub environment.
LPM CLI uses lpm.json > envSchema to choose between Actions variables and secrets. Only a key declared with ci: "variable" and without secret: true becomes a readable variable. client: true controls browser visibility separately. Every other key becomes a write-only Actions secret. Without a schema, every key becomes a secret.
Credential and data boundary
LPM.dev Registry can decrypt the platform credential. The credential is not end-to-end encrypted.
- LPM CLI verifies the credential directly with the provider.
- LPM CLI sends the credential and validated connection metadata to LPM.dev Registry.
- LPM.dev Registry encrypts the credential and stores it.
- For an authorized operation, LPM.dev Registry decrypts the credential and returns it to LPM CLI in an authenticated response.
- LPM CLI sends or reads application values directly through the platform API.
LPM.dev Registry does not receive application env keys or values during platform push, pull, or status. It stores connection scope and metadata. It also stores bounded audit information, such as the operation, environment name, and value counts.
Disconnect or rotate a credential
To disconnect, open the env project in the dashboard. On the Platforms tab, select Disconnect. Disconnecting removes the saved connection. It does not delete values that the platform already stores.
To rotate a credential:
- Revoke the old credential with the platform.
- Run the corresponding
lpm env connect <platform> ...command again with the new credential.
LPM.dev Registry updates the existing connection with the new verified credential.
See also
- Cloud sync explains the separately encrypted personal cloud vault.
- OIDC for CI explains how an authorized GitHub Actions or GitLab.com CI job pulls an environment.
- The LPM CLI platform reference lists all flags and provider security details.