Compare commits

...

2 Commits

Author SHA1 Message Date
Jesús Pérez
76cd35c36b
chore: fix arch graph 2025-12-26 15:48:32 +00:00
Jesús Pérez
510d87f462
chore: fix arch graph 2025-12-26 15:37:14 +00:00
2 changed files with 53 additions and 48 deletions

View File

@ -177,26 +177,29 @@ Tokens have:
```
┌─────────────────────────────────────────────────────────────┐
│ API Layer (Axum)
│ API Layer (Axum) │
│ /v1/secret/* | /v1/transit/* | /v1/pki/* | /v1/database/* │
└──────────────────────────┬──────────────────────────────────┘
┌──────────────────┼──────────────────┐
│ │ │
┌───▼────┐ ┌───▼────┐ ┌────▼────┐
│ Auth │ │ Cedar │ │ Metrics │
│Manager │ │ Policy │ │Collection
└───────── │Engine │ └─────────┘
▼ ▼ ▼
┌────────┐ ┌────────┐ ┌──────────┐
│ Auth │ │ Cedar │ │ Metrics │
│Manager │ │ Policy │ │Collection│
└────────┘ │ Engine │ └──────────┘
└────────┘
┌─────────────────────┼──────────────────────┐
│ │ │
┌───▼──────┐ ┌─────────▼────────┐ ┌───────▼───────┐
│ KV Engine│ │ Transit Engine │ │ PKI Engine │
│ (Crypto)│ │ (Encrypt/Desc) │ │(Certificates) │
▼ ▼ ▼
┌──────────┐ ┌──────────────────┐ ┌───────────────┐
│ KV Engine│ │ Transit Engine │ │ PKI Engine │
│ (Crypto)│ │ (Encrypt/Desc) │ │ (Certificates)│
└──────────┘ └──────────────────┘ └───────────────┘
│ │ │
│ ┌───────────▼───────────┐ │
│ ▼ │
│ ┌───────────────────────┐ │
│ │ Database Engine │ │
│ │ (Dynamic Secrets) │ │
│ └───────────────────────┘ │
@ -205,26 +208,29 @@ Tokens have:
┌─────────────────┼────────────────┐
│ │ │
┌───▼──────┐ ┌────▼────┐ ┌─────▼─────┐
│ Crypto │ │ Storage │ │ Seal │
▼ ▼ ▼
┌──────────┐ ┌──────────┐ ┌───────────┐
│ Crypto │ │ Storage │ │ Seal │
│ Registry │ │ Registry │ │ Manager │
└──────────┘ └─────────┘ └───────────┘
└──────────┘ └─────────┘ └───────────┘
│ │ │
│ ┌───────┼────────┐ │
│ │ │ │ │
┌───▼──┐ ┌──▼──┐ ┌──▼──┐ ┌──▼──┐ ┌─▼─────────┐
│OpenSSL
│ │ │etcd │ │SurrealDB │Shamir SSS │
└───────┘ └─────┘ └──────┘ └──────┘ └─────────┘
┌────────┼────────┐
│ │ │
┌───▼──┐ ┌──▼──┐ ┌──▼──┐
│FS │ │Postgres │
└──────┘ └──────┘ └─────┘
▼ ▼ ▼ ▼ ▼
┌────────┐ ┌─────┐ ┌─────┐ ┌─────┐ ┌────────────┐
│OpenSSL │ │etcd │ │ DB │ │ FS │ │ Shamir SSS │
└────────┘ └─────┘ └─────┘ └─────┘ └────────────┘
┌─────────────────┐
│ │
▼ ▼
┌─────────┐ ┌────────┐
│SurrealDB│ │Postgres│
└─────────┘ └────────┘
```
For detailed architecture: `docs/ARCHITECTURE.md`
For detailed architecture: `docs/architecture.md`
---
@ -307,7 +313,7 @@ default_ttl = 24
cedar_policies_dir = "/etc/secretumvault/policies"
```
Full reference: `docs/CONFIGURATION.md`
Full reference: `docs/configuration.md`
---

View File

@ -2,7 +2,7 @@
**Version:** 3.0
**Date:** 2025-12-21
**Author:** Jesús Pérez (Kit Digital / Rust Las Palmas)
**Author:** Jesús Pérez
**Project Name:** `secretumvault` or `svault`
## Executive Summary
@ -23,7 +23,6 @@
- ❌ NO compite con Enterprise Vault features
**Es ideal para**:
- ✅ Kit Digital projects (PYMES españolas)
- ✅ Aplicaciones que necesitan PQC ahora
- ✅ Infraestructura moderna (Kubernetes, SurrealDB)
- ✅ Compliance NIS2 + post-quantum readiness
@ -95,32 +94,32 @@ SecretumVault = Secrets Manager + Encryption Service + Key Management
│ QUANTUMVAULT CORE │
├─────────────────────────────────────────────────────────────────┤
│ │
│ ┌─────────────┐ ┌──────────────┐ ┌──────────────────────┐ │
│ │ Request │ │ Auth/Policy │ │ Secrets Router │ │
│ │ Handler │→ │ Engine │→ │ (Path-based) │ │
│ └─────────────┘ └──────────────┘ └──────────────────────┘ │
┌─────────────┐ ┌──────────────┐ ┌──────────────────────┐
│ Request │ │ Auth/Policy │ │ Secrets Router │
│ Handler │→ │ Engine │→ │ (Path-based) │
└─────────────┘ └──────────────┘ └──────────────────────┘
│ │ │ │
│ ↓ ↓ │
│ ┌──────────────────┐ ┌────────────────────┐ │
│ │ Cedar Policies │ │ Secrets Engines │ │
│ │ (Authorization) │ │ (KV, Transit, │ │
│ └──────────────────┘ │ Dynamic, PKI) │ │
│ └────────────────────┘ │
│ ┌──────────────────┐ ┌────────────────────┐
│ │ Cedar Policies │ │ Secrets Engines │
│ │ (Authorization) │ │ (KV, Transit, │
│ └──────────────────┘ │ Dynamic, PKI) │
│ └────────────────────┘
│ │ │
└──────────────────────────────────────────────┼──────────────────┘
┌─────────────────────────────────────────────────────
│ │
┌──────▼────────┐ ┌──────────────▼──────┐ ┌▼──────────────┐ │
Crypto Layer │ │ Storage Layer │ │ Seal/Unseal │
├───────────────┤ ├─────────────────────┤ ├───────────────┤
• aws-lc-rs │ │ • SurrealDB │ │ • Master Key │
• RustCrypto │ │ • Filesystem │ │ • Shamir SSS │
• Tongsuo │ │ • etcd/Consul │ │ • Auto-unseal │
• OpenSSL │ │ • PostgreSQL │ │ (KMS) │
└───────────────┘ └─────────────────────┘ └───────────────┘
└────────────────────────────────────────────────────────────────┘
┌──────────────────────────────────────┼──────┐
│ │
│ ▼ ▼ ─────────────┘ ▼ │
┌───────────────┐ ┌─────────────────────┐ ┌───────────────┐
│ │ Crypto Layer │ │ Storage Layer │ │ Seal/Unseal │
├───────────────┤ ├─────────────────────┤ ├───────────────┤
│ • aws-lc-rs │ │ • SurrealDB │ │ • Master Key │
│ • RustCrypto │ │ • Filesystem │ │ • Shamir SSS │
│ • Tongsuo │ │ • etcd/Consul │ │ • Auto-unseal │
│ │ • OpenSSL │ │ • PostgreSQL │ │ (KMS) │
│ └───────────────┘ └─────────────────────┘ └───────────────┘
└────────────────────────────────────────────────────────────────
```
---