
Company News
Andrew Becherer Joins Socket as Chief Information Security Officer
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.
@lockzero/onepassword-sync
Advanced tools
Bidirectional sync between LockZero and 1Password Secrets Automation (Connect API)
Bidirectional sync between LockZero and 1Password Secrets Automation (Connect API).
You need a running 1Password Connect server. See the 1Password Connect docs to deploy one.
npm install -g @lockzero/onepassword-sync
| Credential | How to provide |
|---|---|
| LockZero API key | --lz-key <key> or LOCKZERO_API_KEY env var |
| 1Password Connect token | --op-token <token> or OP_CONNECT_TOKEN env var |
| 1Password Connect host | --op-host <host> or OP_CONNECT_HOST env var |
Each LockZero namespace is stored as one 1Password item titled LockZero/<namespace> (e.g. LockZero/openai). All secret fields are stored as CONCEALED (password) type fields.
push — LockZero → 1Passwordlockzero-1password push \
--namespace openai \
--vault <vaultId> \
--lz-key $LOCKZERO_API_KEY \
--op-token $OP_CONNECT_TOKEN \
--op-host https://my-1password-connect.example.com
# Preview without writing
lockzero-1password push --namespace openai --vault <vaultId> --dry-run
pull — 1Password → LockZerolockzero-1password pull \
--namespace openai \
--vault <vaultId> \
--lz-key $LOCKZERO_API_KEY \
--op-token $OP_CONNECT_TOKEN \
--op-host https://my-1password-connect.example.com
diff — show what would change# Show what a push would do
lockzero-1password diff --namespace openai --vault <vaultId> --direction push
# Show what a pull would do
lockzero-1password diff --namespace openai --vault <vaultId> --direction pull
| Flag | Default | Description |
|---|---|---|
--namespace | required | LockZero namespace (e.g. openai, stripe) |
--vault | required | 1Password vault ID |
--lz-key | env | LockZero API key |
--lz-base-url | https://api.lockzero.io | LockZero base URL |
--op-token | env | 1Password Connect API token |
--op-host | env | 1Password Connect server URL |
--direction | push | Diff direction: push or pull |
--dry-run | false | Preview changes without writing |
FAQs
Bidirectional sync between LockZero and 1Password Secrets Automation (Connect API)
We found that @lockzero/onepassword-sync demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.

Company News
Replit is integrating Socket Firewall into its AI-powered development experience to help protect builders from malicious open source packages.

Security News
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.