sudsy

A small CLI for project secrets

Keep your
secrets in git.

Encrypted, obviously.

Sudsy keeps encrypted .env files next to your code. Share them with your team, run your app, and skip the custom SOPS scripts.

Built on SOPS + age. Everything is fully local.

YOUR REPOSITORY
my-project /main
⌁   src/application code
⌁   .sops.yamlwho has access
⌁   dev.enc.envencrypted ✓
dev.enc.envIN GIT
DATABASE_URL=ENC[AES256_GCM,data:…]
API_KEY=ENC[AES256_GCM,data:…]
SESSION_SECRET=ENC[AES256_GCM,data:…]

# Names stay readable. Values don't.

Git stores encrypted values, your private key lets you read them.

One file per environment. dev, staging, prod.Your keys stay yours. No shared passwords.Just a bash script. SOPS does the encryption.
Why it exists

SOPS is great.
The setup isn't.

Stop writing the same scripts for every project to create keys, edit secrets, share access, and run commands. Sudsy puts those bits in one small CLI.

01

Commit encrypted secrets.

The files live versioned with your code. Only the values are encrypted, so diffs still make sense.

02

Give each person their own key.

Grant access to individual environments and remove it when needed. No passing around plaintext files.

03

Run your app normally.

Sudsy decrypts the right environment for a command. You don't need to manually export variables.

How to use it

Four steps. That's it.

01
Initialize.

Create or reuse an age key.

sudsy init
02
Add your secrets.

Edit an encrypted vault for dev.

sudsy edit dev
03
Commit the encrypted files.

Your vault and access rules live in git.

git add .sops.yaml dev.enc.env
git commit -m "Add encrypted secrets"
04
Run your app.

Sudsy gives the command the right environment.

sudsy run dev -- npm start
Installation

Get Sudsy.

One small CLI, three ways to install it. Sudsy runs on macOS and Linux.

Full installation guide ↗

Latest stable release

curl -fsSL https://sudsy.monotropiclabs.com/install.sh | bash

Install SOPS and age first. The installer verifies the release checksum and puts Sudsy in ~/.local/bin.

Read the installer ↗  ·  Pin a version ↗