// zero trust
Zero-trust access for Kubernetes
Zero trust means no request is trusted because of where it comes from or because someone was let in yesterday: each one proves who sends it and what it may do, now. For a cluster, that comes down to the Kubernetes API. kubelatch puts one proxy in front of it, for people, CI pipelines and AI agents, on the SSO you already have.
// the model
One door to the API server, and nothing trusted by default
A shared admin kubeconfig, a RoleBinding nobody remembers and a token pasted into CI years ago all have one thing in common: they keep working until someone removes them. kubelatch replaces them with credentials that belong to someone and expire, checked on every request.
One Go binary and a Postgres, out of your workloads’ path. Architecture
// no standing access
Permissions that end on their own
- A permission gets 30 days unless you pick another end date. Never has to be chosen on purpose, and the Permissions screen counts the ones with no expiry so you can bring them to zero.
cluster-adminnever lasts past 8 hours. To go further, someone revokes it and grants it again.- Every credential expires. A token on a laptop lost next year opens nothing.
More on granting, extending and revoking: just-in-time access to Kubernetes.
// verify every request
Each request is checked, not each session
- kubelatch looks up the credential on every request, with no cache in between.
- Revoke a credential and its next request gets a
401, with no grace window; an openexecorwatchis cut within 10 seconds. - Disable an account in Users and its sessions and credentials stop right away, whatever their expiry.
// least privilege
The cluster’s own RBAC has the last word
kubelatch acts on the cluster with the real identity, by impersonation: the cluster sees user:ana, not a shared admin, and decides with its own RBAC. Permissions are roles on a namespace or a whole cluster, from viewer to cluster-admin, and kubelatch writes and removes the bindings itself. Why a proxy
// CI and agents
The same rules for pipelines and AI agents
- A GitHub Actions job swaps its OIDC token for a credential that lasts one hour. Nothing is stored in GitHub and nothing needs rotating: CI without secrets.
- An AI agent that works as you is read-only by default, for a few hours, and its writes wait for your approval unless you turn that off: AI agents.
// assume breach
A record of every request
Every request through kubelatch leaves one audit row, written before it reaches the cluster: who, where, which command and the result, with an identifier that matches the cluster’s own audit log. Free shows the last 24 hours; Pro keeps them as long as you configure. The record stays in your infrastructure.
// questions
Questions about zero trust and kubelatch
Does kubelatch replace my SSO?
No. It registers with your identity provider as one more application, like Argo CD or Grafana, and adds what the cluster’s SSO lacks: an end date on each permission and a record of each request.
Does it replace the cluster’s emergency access?
No. Your workloads don’t depend on kubelatch, and kubelatch must never be the only way into a cluster: keep the native emergency access and test it.
Which parts of NIST SP 800-207 are still missing?
Two: a decision that also weighs the device a request comes from, and a dynamic policy that takes signals beyond the role and its end date into account. Both are on the roadmap, with no date yet.