Integrations
LPM.dev Registry connects package access, publishing automation, encrypted environments, and deployment platforms. Each integration uses its own credential and authorization boundary.
| Need | Integration | Start here |
|---|---|---|
| Install private or entitled packages in CI | A read-scoped LPM_TOKEN supplied to LPM CLI or an npm-compatible client | CI/CD |
| Publish from GitHub Actions or GitLab CI | A per-package Trusted Publisher that exchanges workload identity for short-lived publish access | Trusted Publishers |
| Decrypt an environment in CI | An env-specific OIDC policy and escrowed wrapping key | OIDC for CI |
| Synchronize application environments | Direct LPM CLI connections to Vercel, Coolify, Fly.io, Railway, or GitHub Actions | Platform Integrations |
| Install private packages during deployment | A read-scoped build credential or Docker BuildKit secret | Deployment Platforms |
| Receive organization or personal events | An HTTPS endpoint that verifies the version 2 HMAC envelope | Outbound Webhooks |
Package Access in CI
LPM CLI reads LPM_TOKEN directly:
npm install -g @lpm-registry/cli
lpm ci
If the project installs through npm, pnpm, or yarn, generate the job-local registry configuration first:
lpm setup ci npmrc
npm ci
Create a read-scoped token from personal or organization token settings. Store it in the CI provider's encrypted secret store.
Expose the token only to steps that need Registry access.
Trusted Publishing
Trusted Publishers remove the long-lived publish secret from GitHub Actions and GitLab CI.
Configure these values on the package's Trusted Publishers page:
- The repository owner and name.
- The immutable numeric repository ID or GitLab project ID.
- The workflow file.
- One exact branch or tag ref.
- The optional environment.
Then run:
lpm publish -y
LPM CLI exchanges the job identity for a short-lived token restricted to that package.
Trusted Publisher authorization is separate from package-install credentials, env OIDC policies, and Sigstore provenance.
Legacy configurations without the numeric ID and exact ref cannot publish. Remove each disabled configuration and create it again.
Encrypted Environments
Env OIDC access is configured for each env:
lpm env oidc allow --provider=github --repo=owner/repository \
--workflow=.github/workflows/deploy.yml --branch=main --env=production
lpm env pull --oidc --env=production --output=.env
This personal Pro workflow does not grant package publish access. See OIDC for CI for its policy, escrow, and provider requirements.
Platform Environment Sync
LPM CLI can synchronize selected environment values directly with:
- Vercel
- Coolify
- Fly.io
- Railway
- GitHub Actions
Platform credentials and connection settings are managed separately from Registry package tokens. See Platform Integrations for supported operations and security boundaries.
See Also
- CI/CD — Package installation and Trusted Publisher workflows.
- Deployment Platforms — Vercel, Netlify, and Docker builds.
- Outbound Webhooks — Signature verification, replay limits, and idempotency.
- Local Secrets — Manage project environment values with LPM CLI.
- LPM CLI CI/CD guide — Exact installation, caching, and quality-gate behavior.