| Crates.io | cred |
| lib.rs | cred |
| version | 0.14.1 |
| created_at | 2025-12-10 15:05:29.045153+00 |
| updated_at | 2026-01-16 18:05:18.34236+00 |
| description | A command-line tool to manage secrets and environment variables locally and remotely. |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1978220 |
| size | 2,289,246 |
Encrypted local secrets → Deployment platforms.
cred stores encrypted secrets locally and safely pushes them to target platforms on demand.
⚠️ Status: Early Preview (v0.14.1) — The on-disk format, CLI surface, and security model may change between minor versions.
Homebrew:
brew tap edneedham/cred
brew install edneedham/cred/cred
Shell:
curl -fsSL https://raw.githubusercontent.com/edneedham/cred/main/scripts/install.sh | sh -s
Cargo:
cargo install cred
Pre-built binaries: GitHub Releases
# Initialize a project (auto-detects targets from git, fly.toml, etc.)
cred init
# Authenticate with a target (per-project, fine-grained token)
cred target set github
# Store a secret
cred secret set DATABASE_URL "postgres://..."
# Optional: scope a secret to a target (v0.14.0+)
cred secret set NEXT_PUBLIC_API_URL "https://..." --targets vercel
# Push to GitHub (no --repo needed, uses saved binding)
cred push github
See the Getting Started guide for more.
--json, --dry-run, --non-interactive flagsLicensed under either of:
at your choice.