Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_int-secrets-manager

Secrets Manager (Vault) Internals (Dynamic Leases, Seal & Rotation)

7 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[![Secrets Manager (Vault) Internals (Dynamic Leases, Seal & Rotation) — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_int-secrets-manager/opengraph-image)](https://archos.sageideas.dev/d/dgm_int-secrets-manager)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_int-secrets-manager)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_int-secrets-manager" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Secrets Manager (Vault) Internals (Dynamic Leases, Seal & Rotation) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  client_0["K8s Workload Pod"]
  auth_1["Auth Method Engine"]
  core_2["Vault Core & Policy"]
  dyn_3["Dynamic Secrets Engine"]
  stor_4[("Encrypted Raft Store")]
  db_5[("Target PostgreSQL")]
  downstream_6["Downstream & OTel"]
  client_0 -->|"1. Present · HTTPS"| auth_1
  auth_1 -->|"2. Issue · ACL"| core_2
  core_2 -->|"3a. Request DB · Internal"| dyn_3
  db_5 -->|"CREATE · SQL"| dyn_3
  core_2 -->|"3b. Persist · Raft"| stor_4
  stor_4 -.->|"4. Emit / · OTLP/API"| downstream_6

COMPONENT STACK (7)

  • K8s Workload PodSTATELESS
    Projected SA JWT
  • Auth Method EngineSTATELESS
    Verifies K8s JWT / AWS IAM
  • Vault Core & PolicySTATELESS
    In-RAM barrier key + ACL eval
  • Dynamic Secrets EngineSTATELESS
    Mints 1h unique DB user/pass
  • Encrypted Raft StoreSTATEFUL
    Ciphertext-only at rest + KMS unseal
  • Target PostgreSQLSTATEFUL
    Revokes lease automatically at TTL
  • Downstream & OTelSTATELESS
    Consumers, metrics & SLOs

REQUEST & DATA FLOW (6)

  1. K8s Workload Pod → Auth Method Engine (Present)[HTTPS]
  2. Auth Method Engine → Vault Core & Policy (Issue)[ACL]
  3. Vault Core & Policy → Dynamic Secrets Engine (Request DB)[Internal]
  4. Target PostgreSQL → Dynamic Secrets Engine (CREATE)[SQL]
  5. Vault Core & Policy → Encrypted Raft Store (Persist)[Raft]
  6. Encrypted Raft Store → Downstream & OTel (Emit /)[OTLP/API]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →