Skip to main content

Yoink

Lean, repo-native secrets for developer teams.

Encrypted secrets live in your repo. Developers decrypt only what they have access to.

Requirements

  • Python 3.9+
  • age (brew install age)
  • Git

Install

pip install yoink-py

Commands

yoink secrets              Edit all secrets in $EDITOR
yoink access edit          Review members and requests in $EDITOR
yoink access request       Request access to the vault (new developers)
yoink run <env> -- <cmd>   Run a command with secrets injected

Quick start

cd your-repo
yoink secrets   # bootstraps vault on first run, then opens editor

The vault is created in .yoink/ with dev, staging, and production environments. Two vault-wide recovery keys are printed once — back them up in your team password manager.

Secrets editor

yoink secrets opens a buffer like:

[dev]
DATABASE_URL=postgres://localhost/mydb
API_KEY=sk_test_abc

[staging]
DATABASE_URL=postgres://staging/mydb

[production]
DATABASE_URL=postgres://prod/mydb
  • Edit values inline
  • Add a key to add it
  • Delete a line to remove a secret
  • Add a new [environment] header to create a new environment
  • Save and quit — changes are applied

Access editor

yoink access edit opens a buffer like:

## members
jack    dev staging production
sarah   dev staging

## requests
bob     dev staging
  • Edit the environment list on a member line to change their access
  • Delete a member line to revoke their access
  • Move a request line above ## requests to approve it
  • Delete a request line to reject it
  • Save and quit — changes are applied

New developer workflow

yoink access request   # generates keypair, writes .yoink/requests/<you>.json
git add .yoink/requests/<you>.json
git commit -m "access request: <you>"
# open a PR

A maintainer pulls the PR and runs yoink access edit. Moving your line above ## requests and saving approves you. The vault files are re-encrypted to include your key.

How it works

  • Secrets are encrypted with age and stored as .enc files in .yoink/
  • Each developer has an identity keypair in ~/.yoink/
  • The manifest (manifest.json) tracks who has access to what
  • Re-encryption happens automatically when access changes

Limitations

  • Git history is immutable — revoking access doesn't erase past exposure
  • No runtime audit — who decrypted what and when is not tracked
  • Best for small-to-medium teams

Metadata

Release files for yoink-py 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for yoink-py 0.1.0
File Size Uploaded Provenance Actions
yoink_py-0.1.0.tar.gz 13.1 kB Without provenance Details for yoink_py-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for yoink-py 0.1.0
File Interpreter ABI Platform Actions
yoink_py-0.1.0-py3-none-any.whl Python 3 none any Details for yoink_py-0.1.0-py3-none-any.whl

Total release size: 27.6 kB

Release files / yoink_py-0.1.0.tar.gz

Download URL yoink_py-0.1.0.tar.gz
Size 13.1 kB
Tags Source
SHA-256 checksum
How to use checksums
1d2b587933115c50e0e3e765a08ee9c8196e297f492b6c57dac4a8ede71aece9
BLAKE2b-256 checksum
How to use checksums
7812ed8383e72b513f47ca1a19331cd3ab9b1bfe69b6469aed7222c453515153
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / yoink_py-0.1.0-py3-none-any.whl

Download URL yoink_py-0.1.0-py3-none-any.whl
Size 14.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e055f9bb1a1cd7861b4a939ea7ef958047747112af141217ea55c87b0357f5bb
BLAKE2b-256 checksum
How to use checksums
a2f1efa9684d7ead4b8e554faf039ba866775fd18adcc1487da04773299be0f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Security for yoink-py 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page