SpiceDB Kube API Proxy

SpiceDB-backed authorization for Kubernetes API server

spicedb-kubeapi-proxy functions as a network proxy positioned between a Kubernetes client and a Kubernetes cluster. By querying SpiceDB, the proxy determines whether a request can proceed and how to filter a list of responses from Kubernetes - including live updates via watch requests. The proxy can be used to provide fine-grained permissions for Kubernetes API objects.

SpiceDB Kube API Proxy architecture

Features

  • ✨ Filter responses (including lists) from the kubernetes cluster based on data in SpiceDB
  • đŸŒļī¸ Write to both SpiceDB and Kubernetes in a single transaction (durably)
  • đŸĒŠ Use different user authentication in the proxy than you do in the base cluster
  • 🎉 No syncing between SpiceDB and Kubernetes is required
  • 🔒 Does not require admin permissions in the base cluster
  • đŸ“Ļ Run the proxy in-cluster or out-of-cluster
  • 📡 Use an embedded SpiceDB or a remote SpiceDB
  • 📜 Configure with a variety of different rules to control access to the cluster
  • 📊 Metrics and tracing support

Community

starspullslicense

spicedb-kubeapi-proxy was created by the team that built SpiceDB, the graph database purpose-built for storing and evaluating access control data.

Secure access to the Kubernetes API using SpiceDB
GoGitHub Star39GitHub Fork7

Join our community discord to ask questions and learn more about the project.