Application Architecture (TOGAF Phase C2)
Auto-generated from USM service and feature files.
Application Service Map
mermaid
graph TD
subgraph "Application Services"
cli["Safekeys CLI"]
control_plane["Control Plane API :8080"]
site["Safekeys.ai Site :3000"]
sidecar["Sidecar / Resolver"]
end
subgraph "Shared Services"
control_plane_db[("Control Plane Database")]
end
cli --> sidecar
cli --> control_plane
control_plane --> key_store
control_plane --> control_plane_db
mcp_server --> cli
python_sdk --> cli
sidecar --> control_plane
sidecar --> key_store
typescript_sdk --> cliPer-Service Breakdown
Safekeys CLI
- Type: api
- Runtime: go
- Depends on: sidecar, control-plane
- Features (1): exec-wrapper
Control Plane Database
- Type: database
- Runtime: postgres
- Port: 5432
Control Plane API
- Type: api
- Runtime: go
- Port: 8080
- Depends on: key-store, control-plane-db
- Features (5): audit-logging, control-plane-api, policy-engine, token-revocation, capability-token
Safekeys MCP Server
- Type: api
- Runtime: node
- Depends on: cli
- Features (1): integration-mcp-server
Python SDK
- Type: api
- Runtime: python
- Depends on: cli
- Features (1): integration-python-sdk
Safekeys.ai Site
- Type: web-app
- Runtime: nextjs
- Port: 3000
- Features (1): docs-hosting
Sidecar / Resolver
- Type: worker
- Runtime: go
- Depends on: control-plane, key-store
- Features (10): hardware-root, threshold-crypto, secret-creation, secret-transport, encrypted-folder, envelope-encryption, dev-key-custody, output-control, secret-injection, sidecar-resolution
TypeScript SDK
- Type: api
- Runtime: node
- Depends on: cli