Self-Hosting AgentSecrets: Own Your Secrets with Total Privacy
Описание и применение
Самостоятельный развертывание AgentSecrets обеспечивает полную конфиденциальность и контроль над зашифрованными секретами, используя Docker, PostgreSQL и официальный CLI.
Задача
Teams want full control over encrypted credentials without sending data to third‑party servers.
Результат
A fully private AgentSecrets deployment running in under 5 minutes, with encrypted secrets stored locally and accessible via the official CLI.
Рабочий процесс
- Clone agentsecrets-server repo
- Generate cryptographic keys and create .env
- Run docker-compose up -d
- Verify server health with curl
- Add HTTPS with Caddy (optional)
- Install official agentsecrets CLI on workstation
- Set CLI to point to self‑hosted server
- Initialize identity and bind to OS keychain
- Create project and set secrets via CLI
- Verify secrets stored and encrypted
- Optional: pin server per project
- Backup PostgreSQL database
Доказательства
You can self-host the AgentSecrets server backend on your own VPS, home lab, or local server
Run docker-compose up -d
agentsecrets server set https://secrets.yourdomain.com
- Дата записи: 2026-09-06T11:52:03.140Z