Sotto

Stop Slacking your .env files.

Sotto is an open-source, zero-knowledge secret manager for developer teams. Encrypt .env files and secrets on your machine before they leave it, sync ciphertext across devices, and decrypt only on your teammates’ machines. The server never sees plaintext.

curl -fsSL https://raw.githubusercontent.com/getsotto/sotto/main/install.sh | sh

On Windows, run this in PowerShell:

irm https://raw.githubusercontent.com/getsotto/sotto/main/install.ps1 | iex

Prebuilt, signed binaries are available for macOS, Linux, and Windows x86_64. The installers verify the archive’s SHA-256 checksum and, when cosign is installed, its Sigstore signature. Read the shell installer or the PowerShell installer, or download a tarball from releases.

$ sotto init
  Save your Emergency Kit - these cannot be recovered:
    Secret Key:   SK1-9FKQ-XXXX-XXXX-XXXX
initialised `acme-api` (dev)

$ sotto set DATABASE_URL
Value:
set DATABASE_URL (acme-api/dev)

$ sotto run -- npm start
ready on http://localhost:3000

$ sotto push
pushed acme-api/dev - revision 1

$ sotto share DATABASE_URL
share link (acme-api/dev) - burns after 1 view(s):
https://getsotto.co.uk/s/00112233445566778899aabbccddeeff#AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8

$ 

How it works

  1. Encrypt locally. Your vault key is derived on your machine from your master password and secret key. Neither is ever sent anywhere.
  2. Sync ciphertext. The server stores and versions encrypted blobs. It never receives a plaintext value or a usable key, so there is nothing on it worth stealing.
  3. Decrypt on your devices. One Rust crypto core runs everywhere: the CLI secret manager natively, the browser through WebAssembly, with golden vectors in CI proving both produce identical bytes.

Teams work the same way: sharing an environment grants its key to a member (an X25519 sealed box), so access is cryptographic, not a permission bit on the server. Removing a member rotates the keys. Use Sotto as an encrypted dotenv alternative locally, inject CI/CD secrets with expiring machine tokens, or send one-time secret links that burn after reading.

Should you trust this?

Not blindly. Sotto is pre-1.0 and has not had a third-party cryptographic audit yet. You should know that before putting anything important in it. Here is what you can verify yourself, today:

  • A published threat model with explicit non-goals.
  • One shared crypto core: the CLI and the browser client run the same Rust code, held to byte-for-byte golden vectors in CI.
  • Sigstore-signed releases with a documented verification procedure.
  • Telemetry is four anonymous fields, opt-out, and pinned by a unit test so it cannot quietly grow.
  • Apache-2.0, and self-hostable from one docker-compose.

Honest guidance: use it for your team’s development and staging secrets today. Keep the production crown jewels where they are until the audit.

Pricing

Local and self-hosted

Free

  • Open-source Sotto, running on your devices or your own server
  • Keep control of hosting and operating costs
  • Share links remain free for recipients

Sotto Cloud

£2.99 / person / month

  • Or £29.99 per person / year
  • First 100 named paid seats: £1.99 monthly for 12 months, then £2.99; or £19.99 for the first year, then £29.99
  • No trial; hosted access starts after payment is confirmed

Cloud is operated by Sotto and has no SLA. The source is open and can be self-hosted. Prices and applicable taxes are confirmed at checkout. Free one-time links have a limit of three active links per account, one view each, with a seven-day expiry.

Or run it yourself: the server is self-hostable and Apache-2.0.

Open source

Apache-2.0. One repo, one crypto core. Star it if Sotto saved you from pasting a .env into Slack; pick a good first issue if you want to help.

Star on GitHubGood first issuesContributing

Get started

sotto init                   # create your identity; SAVE the Emergency Kit
sotto set DATABASE_URL       # hidden prompt; encrypted before it touches disk
sotto import .env            # optional: pull in an existing file, still encrypted locally
sotto run -- npm start       # inject secrets into any command
sotto login && sotto push    # optional: sync ciphertext via getsotto.co.uk
sotto share DATABASE_URL     # one-time link for a single secret

Sotto works fully offline until you sotto login. Sync is a feature, not a requirement. The web vault at this address decrypts in your browser, with keys that never leave your devices.

Frequently asked questions

What is Sotto (getsotto)?

Sotto (available at getsotto.co.uk and github.com/getsotto/sotto) is an open-source secret manager for developer teams. It encrypts .env values, API keys, and credentials on your device with a single Rust crypto core shared between the native CLI and the browser WebAssembly vault.

How is Sotto different from keeping plaintext .env files?

Plaintext .env files end up in Slack, email, screenshots, and stale laptops. Sotto works as a dotenv alternative: import your file once with sotto import .env, inject secrets into processes in memory via sotto run, and sync only encrypted ciphertext across your team.

Can I use Sotto as a CLI secret manager in CI/CD?

Yes. The CLI secret manager runs on macOS, Linux, and Windows, and CI/CD secrets use scoped, expiring machine tokens (SOTTO_TOKEN) with the official GitHub Action or any CI runner.

Can I self-host Sotto on my own infrastructure?

Yes. Sotto is Apache-2.0 and ships with a single Docker Compose stack for self-hosted secret management with no plan limits. You can also run completely locally without any server.