[](https://github.com/edneedham/cred/actions/workflows/ci-cd.yml)
[](https://crates.io/crates/cred)
[](https://github.com/edneedham/cred/releases/latest)
[](https://github.com/edneedham/homebrew-cred)
[](LICENSE-MIT)
[](https://github.com/edneedham/cred/releases)
# cred
Encrypted local secrets → Deployment platforms.
📖 **[Full Documentation](https://edneedham.github.io/cred/)**
---
## What it is
`cred` stores encrypted secrets locally and safely pushes them to target platforms on demand.
⚠️ **Status: Early Preview (v0.5.0)** — The on-disk format, CLI surface, and security model may change between minor versions.
### What it's not
- A hosted secrets manager
- A replacement for HashiCorp Vault or AWS Secrets Manager
- A runtime secret injector
### Who it's for
- Solo developers
- Small teams
- Open-source maintainers
---
## Install
**Homebrew:**
```bash
brew tap edneedham/cred
brew install edneedham/cred/cred
```
**Shell:**
```bash
**Cargo:**
```bash
cargo install cred
```
**Pre-built binaries:** [GitHub Releases](https://github.com/edneedham/cred/releases)
---
## Quick Start
```bash
# Initialize a project
cred init
# Add a target (GitHub Actions)
cred target set github
# Store a secret
cred secret set DATABASE_URL "postgres://..."
# Push to GitHub
cred push github
```
See the [Getting Started guide](https://edneedham.github.io/cred/getting-started.html) for more.
---
## Features
- **Encrypted vault** — Secrets stored locally with ChaCha20-Poly1305
- **Sources** — Generate credentials from APIs (Resend)
- **Targets** — Push secrets to CI/CD platforms (GitHub Actions)
- **OS keyring** — Tokens stored in macOS Keychain, GNOME Keyring, or Windows Credential Manager
- **Automation-ready** — `--json`, `--dry-run`, `--non-interactive` flags
---
## Documentation
- [Installation](https://edneedham.github.io/cred/installation.html)
- [Getting Started](https://edneedham.github.io/cred/getting-started.html)
- [Commands Reference](https://edneedham.github.io/cred/commands/)
- [Security Model](https://edneedham.github.io/cred/security.html)
- [CI/CD Integration](https://edneedham.github.io/cred/ci-cd.html)
---
## License
Licensed under either of:
- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
- MIT License ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
at your choice.