From e06057f46e09297f605f92588e62b24ba46cdd0d Mon Sep 17 00:00:00 2001 From: All Asmaul Husnain <2263081025@uttarauniversity.edu.bd> Date: Tue, 27 Oct 2026 00:07:45 +0600 Subject: [PATCH] docs: add vault concept diagram to README --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index 0cfd196..5084899 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,23 @@ [![CI](https://github.com/MugdhoAI/vault-api/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/MugdhoAI/vault-api/actions/workflows/ci.yml) [![CodeQL](https://github.com/MugdhoAI/vault-api/actions/workflows/codeql.yml/badge.svg?branch=main)](https://github.com/MugdhoAI/vault-api/actions/workflows/codeql.yml) +```mermaid +flowchart TB + VAULT["▣ VAULT API
Authenticated Secret Vault"] + subgraph FLOW["DATA IN MOTION"] + direction LR + D1["•••"] --> D2["key : encrypted value"] --> D3["•••"] --> D4["key : encrypted value"] --> D5["•••"] + end + VAULT -->|"Fernet encrypted at rest"| STORE[("PostgreSQL")] + FLOW -. "secret requests" .-> VAULT + + style VAULT fill:#0b1724,stroke:#38bdf8,color:#f0f9ff,stroke-width:2px + style FLOW fill:#080d14,stroke:#26394d,color:#94a3b8 + style STORE fill:#102033,stroke:#38bdf8,color:#e0f2fe + style D2 fill:#111827,stroke:#334155,color:#cbd5e1 + style D4 fill:#111827,stroke:#334155,color:#cbd5e1 +``` + A learning-focused FastAPI service for authenticated, owner-scoped secret storage. Secret values are encrypted with Fernet before being persisted to PostgreSQL. **Status:** This is a learning and portfolio project, not production ready. Do not store real credentials or sensitive data in it.