secrets-and-pki: verify against Trilium, replace diagrams with real content
Removed the before/after plaintext-secrets Mermaid diagram (the bullets right below it already said the same thing more clearly) and the Architecture flowchart (its per-host labels were silently missing registry-token and Hawser-secret details that didn't fit in the boxes). Replaced the flowchart with an accurate, complete "who gets what" table sourced directly from Trilium, one sentence for the proxy-routing fact it was trying to show, and a new sequence diagram for the actual secret lifecycle (auth -> render -> read -> async rotation) - a genuinely different kind of diagram since that's process/time-ordered information a table can't represent well. Also restored real specificity Trilium had that the doc had flattened into vague language: the cert-renewal row now names Technitium specifically and states the actual incident (an expired cert silently served for 19 days before the auto-rebuild hook existed), and the audit trail row now states the real rotation policy (weekly, 8 generations).
This commit is contained in:
2 files changed
+21
-33
No files matched your search
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Do not edit this file with editors other than draw.io -->
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" style="background: transparent; background-color: transparent; color-scheme: light dark;" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="1282px" height="393px" viewBox="0 0 1282 393" id="ge-svg-wXejG6j39UCpMXitsgS8" content="<mxfile host="embed.diagrams.net" scale="1" border="0"> <diagram name="Secret Lifecycle" id="secret-lifecycle-1"> <mxGraphModel dx="1664" dy="931" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1340" pageHeight="620" math="0" shadow="0"> <root> <mxCell id="0" /> <mxCell id="1" parent="0" /> <mxCell id="agent" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#e1d5e7;strokeColor=#9673a6;fontColor=#333333;fontSize=14;fontStyle=1;shadow=1;" value="Vault Agent&lt;br&gt;&lt;font style=&quot;font-size:11px&quot;&gt;runs on the consuming host&lt;/font&gt;" vertex="1"> <mxGeometry height="90" width="200" x="40" y="260" as="geometry" /> </mxCell> <mxCell id="vault" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#e1d5e7;strokeColor=#9673a6;fontColor=#333333;fontSize=14;fontStyle=1;shadow=1;" value="Vault&lt;br&gt;&lt;font style=&quot;font-size:11px&quot;&gt;server&lt;/font&gt;" vertex="1"> <mxGeometry height="90" width="200" x="380" y="260" as="geometry" /> </mxCell> <mxCell id="disk" parent="1" style="shape=cylinder3;whiteSpace=wrap;html=1;fillColor=#F5F5F5;strokeColor=#666666;fontColor=#333333;fontSize=14;fontStyle=1;shadow=1;boundedLbl=1;" value="Local Disk&lt;br&gt;&lt;font style=&quot;font-size:11px&quot;&gt;rendered file&lt;/font&gt;" vertex="1"> <mxGeometry height="110" width="160" x="660" y="250" as="geometry" /> </mxCell> <mxCell id="app" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=#333333;fontSize=14;fontStyle=1;shadow=1;" value="Application" vertex="1"> <mxGeometry height="90" width="200" x="1110" y="260" as="geometry" /> </mxCell> <mxCell id="s1" edge="1" parent="1" source="agent" style="html=1;endArrow=block;strokeColor=#9673a6;fontColor=#9673a6;fontSize=11;rounded=1;edgeStyle=orthogonalEdgeStyle;exitX=0.3;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" target="vault" value="&lt;span style=&quot;background-color: light-dark(rgb(255, 255, 255), rgb(41, 41, 41));&quot;&gt;① authenticate — AppRole (role_id + secret_id)&lt;/span&gt;"> <mxGeometry relative="1" as="geometry"> <Array as="points"> <mxPoint x="100" y="200" /> <mxPoint x="480" y="200" /> </Array> </mxGeometry> </mxCell> <mxCell id="s2" edge="1" parent="1" source="vault" style="html=1;endArrow=block;strokeColor=#9673a6;fontColor=#9673a6;fontSize=11;rounded=1;edgeStyle=orthogonalEdgeStyle;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.603;entryY=0.996;entryDx=0;entryDy=0;entryPerimeter=0;" target="agent" value="&lt;span style=&quot;background-color: light-dark(rgb(255, 255, 255), rgb(41, 41, 41));&quot;&gt;② short-lived token issued, cached, auto-renewed&lt;/span&gt;"> <mxGeometry relative="1" as="geometry"> <Array as="points"> <mxPoint x="480" y="375" /> <mxPoint x="160" y="375" /> <mxPoint x="160" y="349.6" /> </Array> </mxGeometry> </mxCell> <mxCell id="s3" edge="1Line truncated
|
||||
|
After Width: | Height: | Size: 327 KiB |
Reference in new issue
Block a user