agentcreds
# AgentCreds Vault 🔐
Production-ready secret management for autonomous agents. Features versioning, auto-rotation, audit logs, and a Python SDK with LangChain integration.
## ✨ Features
- **CRUD + Versioning:** Store/retrieve secrets with full history
- **Auto-Rotation:** Scheduled credential rotation (AWS, OpenAI, etc.)
- **Audit Logs:** Tamper-evident logging of all access
- **LangChain Tool:** Built-in tool for agent workflows
- **Docker + Postgres + Redis:** Production-grade stack
## 📦 What's Included
- `app/main.py` — FastAPI application
- `app/models.py` — SQLAlchemy models
- `app/routers/creds.py` — REST API endpoints
- `app/workers/rotation.py` — Background rotation worker
- `sdk/agentcreds/` — Python package with LangChain tool
- `docker-compose.yml` — Full stack (API + DB + Redis)
- `PRODUCTION.md` — Deployment guide
- `DEPLOYMENT.md` — Quick start
## 🛠️ Quick Start
```bash
git clone https://github.com/wjs829/agentcreds-skill.git
cd agentcreds-skill/scripts
docker-compose up -d
# API runs at http://localhost:8000
```
SDK usage:
```python
from agentcreds import AgentCreds
vault = AgentCreds(api_url="http://localhost:8000")
secret = vault.get_secret("openai_key")
```
## 📜 License
MIT — see `LICENSE` file.
标签
skill
ai