Compare commits

..

No commits in common. "76cd35c36b9b54a9a88232439f728574aba90e29" and "88697f5562f082668befd80b7e023de9e9f6b638" have entirely different histories.

2 changed files with 48 additions and 53 deletions

View File

@ -177,29 +177,26 @@ 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) │ │
│ └───────────────────────┘ │
@ -208,29 +205,26 @@ Tokens have:
┌─────────────────┼────────────────┐
│ │ │
▼ ▼ ▼
┌──────────┐ ┌──────────┐ ┌───────────┐
│ Crypto │ │ Storage │ │ Seal │
┌───▼──────┐ ┌────▼────┐ ┌─────▼─────┐
│ Crypto │ │ Storage │ │ Seal │
│ Registry │ │ Registry │ │ Manager │
└──────────┘ └─────────┘ └───────────┘
└──────────┘ └─────────┘ └───────────┘
│ │ │
│ ┌───────┼────────┐ │
│ │ │ │ │
▼ ▼ ▼ ▼ ▼
┌────────┐ ┌─────┐ ┌─────┐ ┌─────┐ ┌────────────┐
│OpenSSL │ │etcd │ │ DB │ │ FS │ │ Shamir SSS │
└────────┘ └─────┘ └─────┘ └─────┘ └────────────┘
┌─────────────────┐
│ │
▼ ▼
┌─────────┐ ┌────────┐
│SurrealDB│ │Postgres│
└─────────┘ └────────┘
┌───▼──┐ ┌──▼──┐ ┌──▼──┐ ┌──▼──┐ ┌─▼─────────┐
│OpenSSL
│ │ │etcd │ │SurrealDB │Shamir SSS │
└───────┘ └─────┘ └──────┘ └──────┘ └─────────┘
┌────────┼────────┐
│ │ │
┌───▼──┐ ┌──▼──┐ ┌──▼──┐
│FS │ │Postgres │
└──────┘ └──────┘ └─────┘
```
For detailed architecture: `docs/architecture.md`
For detailed architecture: `docs/ARCHITECTURE.md`
---
@ -313,7 +307,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
**Author:** Jesús Pérez (Kit Digital / Rust Las Palmas)
**Project Name:** `secretumvault` or `svault`
## Executive Summary
@ -23,6 +23,7 @@
- ❌ 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
@ -94,32 +95,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) │
└───────────────┘ └─────────────────────┘ └───────────────┘
└────────────────────────────────────────────────────────────────┘
```
---