From 1da01d2e02df15f5023ec73a70a3dfcb47fc4e00 Mon Sep 17 00:00:00 2001 From: jrhender Date: Mon, 26 Aug 2024 07:22:55 +0200 Subject: [PATCH] docs(C4-arch): adjust for credo --- apps/vc-api/README.md | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/apps/vc-api/README.md b/apps/vc-api/README.md index e97dce5..bf28608 100644 --- a/apps/vc-api/README.md +++ b/apps/vc-api/README.md @@ -16,19 +16,18 @@ The following is a [C4 Component diagram](https://c4model.com/#ComponentDiagram) ```mermaid C4Component Component(vc-api, "VC-API Module", "Nest.js Module", "VC API spec Holder, Issue and Verifier endpoints") -Component(did, "DID Module", "Nest.js Module", "DID Generation, Storage/Retrieval") +Component(did, "DID Module", "Nest.js Module", "DID and Generation, Storage/Retrieval") Component(key, "Key Module", "Nest.js Module", "Key Generation, Storage and Retrieval") +ContainerDb(db, "Aries Askar DB", "DB Engine TBD", "DID and key storage.") -Rel(vc-api, did, "Get Verification Method for signing") -Rel(vc-api, key, "Get Private Key for signing") -Rel(did, db, "Read & Write DID Documents") -Rel(key, db, "Read & Write keys") +Rel(vc-api, db, "Get private keys for signing (via Credo)") +Rel(did, db, "Read & Write DID documents and keys (via Credo)") +Rel(key, db, "Read keys for export") -ContainerDb(db, "DIDs, Keys", "Relational Database", "") UpdateLayoutConfig($c4ShapeInRow="2") UpdateRelStyle(vc-api, did, $offsetY="-20", $offsetX="-80") -UpdateRelStyle(vc-api, key, $offsetX="-150") -UpdateRelStyle(did, db, $offsetX="-165") +UpdateRelStyle(vc-api, db, $offsetX="-220") +UpdateRelStyle(did, db, $offsetX="-140") UpdateRelStyle(key, db, $offsetY="10", $offsetX="-50") ```