Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@lockzero/onepassword-sync

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lockzero/onepassword-sync

Bidirectional sync between LockZero and 1Password Secrets Automation (Connect API)

latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
5
-37.5%
Maintainers
1
Weekly downloads
 
Created
Source

@lockzero/onepassword-sync

Bidirectional sync between LockZero and 1Password Secrets Automation (Connect API).

Prerequisites

You need a running 1Password Connect server. See the 1Password Connect docs to deploy one.

Installation

npm install -g @lockzero/onepassword-sync

Authentication

CredentialHow 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

Item structure

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.

Commands

push — LockZero → 1Password

lockzero-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 → LockZero

lockzero-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

Options

FlagDefaultDescription
--namespacerequiredLockZero namespace (e.g. openai, stripe)
--vaultrequired1Password vault ID
--lz-keyenvLockZero API key
--lz-base-urlhttps://api.lockzero.ioLockZero base URL
--op-tokenenv1Password Connect API token
--op-hostenv1Password Connect server URL
--directionpushDiff direction: push or pull
--dry-runfalsePreview changes without writing

Keywords

lockzero

FAQs

Package last updated on 10 May 2026

Did you know?

Socket

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.

Install

Related posts