Skip to main content

Sops Age

@zocc/sops-agev2026.05.22.1· 2mo agoVAULTS
01README

SOPS + age vault for swamp: encrypt secrets at rest with AES-256-GCM via Mozilla SOPS and age. Zero network dependency — fully local, file-based. Works with existing SOPS workflows and zo.space secrets dashboards.

Setup

Generate an age keypair and SOPS-encrypted secrets file:

  --input-type json --output-type json ~/.secrets/secrets.json

Create a vault instance:

  --config '{"secretsFile":"/home/user/.secrets/secrets.json","ageKeyFile":"/home/user/.secrets/age.key","agePublicKey":"age1..."}'

Usage

bash swamp vault list-keys my-secrets --json swamp vault read-secret my-secrets MY_SECRET --force swamp vault put my-secrets NEW_KEY=new_value In workflows:

  API_KEY: ${{ vault.get(my-secrets, OPENAI_API_KEY) }}

Required Tools

02Vaults1
SOPS + ageconfigurable
@zocc/sops-agesops_age/mod.ts

File-based secret vault encrypted with Mozilla SOPS and age. Secrets are stored as AES-256-GCM encrypted JSON on disk. Zero network dependency — fully local.

03Previous Versions2
2026.05.21.2
2026.05.21.1
04Stats
A
100 / 100
Downloads
6
Archive size
9.7 KB
  • 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