Building an Agentic IAM SaaS with kcp and Kubebuilder
summary
Prototype implements an agentic IAM SaaS using the kcp generic control plane plus Kubebuilder controllers, Kina as an etcd shim and NATS for storage, a Go server‑sent‑events frontend, and jobs that run Open Tofu in Kubernetes to push changes. API uses tenants, workspaces and label‑selector based access packages to map identities to resources; CRDs and RBAC embed into binaries. It runs locally and in a demo cloud but hits Scaleway NATS managed limits (one connection per kind) and lacks full garbage‑collection and load testing.
AI-written summary · about
chapters (13)
- 0:00Introduction and motivation
- 1:48Why agentic organizations need IAM
- 3:14Architecture overview of the SaaS
- 4:58Stack components and design
- 7:06Data store and infrastructure choices
- 9:10Repository layout and deployment
- 12:01Development and deployment workflow
- 13:27Authentication and RBAC setup
- 17:26API design and resource model
- 24:07Lessons learned and challenges
- 26:17Benefits of the chosen stack
- 28:23Summary and closing
- 28:44Q&A session
