Skip to main content

1password

@swamp/1passwordv2026.07.26.1· 1d agoVAULTS
01README

Read, write, delete, and annotate secrets stored in 1Password using the op CLI. Supports swamp vault delete for removing secrets and swamp vault annotate and swamp vault inspect for attaching metadata (URL, notes, labels) to secrets. Emits OpenTelemetry spans for vault operations and per-CLI-invocation child spans so failures and latency are attributable in traces when a TracerProvider is configured.

Prerequisites

  • 1Password CLI installed and in PATH
  • Authenticated via one of:
    • Service account: export OP_SERVICE_ACCOUNT_TOKEN=<token>
    • Desktop app: enable CLI integration in 1Password settings
    • Connect Server: export OP_CONNECT_HOST=<url> and export OP_CONNECT_TOKEN=<token>

Usage

swamp vault create @swamp/1password my-1password \
  --config '{"op_vault": "Private"}' --json

swamp vault get my-1password my-api-key --json
swamp vault put my-1password my-api-key "s3cr3t" --json
swamp vault list-keys my-1password --json

Secret Key Format

  • item-name — reads the password field of the named item
  • item-name/field — reads a specific field
  • op://vault/item/field — full 1Password URI (passthrough)
02Vaults1
1Passwordconfigurable
@swamp/1passwordonepassword.ts

1Password vault provider. Uses the 1Password CLI (op) for secret operations.

Config Fields

FieldTypeDescription
op_vaultstringThe 1Password vault to use
op_account?stringAccount shorthand or UUID
03Previous Versions13
2026.06.24.1
2026.06.04.2
2026.06.04.1
2026.05.23.2
2026.05.23.1
2026.04.22.2
2026.03.31.1
2026.03.18.5
2026.03.18.4
2026.03.18.3
2026.03.18.2
2026.03.18.1
2026.03.17.1
04Stats
A
100 / 100
Downloads
932
Archive size
25.1 KB
Verified by Swamp
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
05Platforms
06Labels