Captivo AccessKuberneteskubectlVendor Access

Kubernetes Access Without Handing Out Cluster Credentials

K8S
ON THIS PAGE
IN SHORTThe person connects with their own kubectl but the token they hold is a short-lived ticket, not a cluster credential. The API server stays private, every request is checked and logged, and exec sessions are recorded.

A vendor wants to inspect a deployment in your cluster. What usually happens is that a kubeconfig file gets sent. That file holds the cluster address and often a long-lived credential; it ends up in an e-mail, a chat or a repository, and you cannot know who holds it.

Why a kubeconfig is risky

  • The credential is inside the file. Anyone who gets it can talk to the cluster; it does not expire and nobody takes it back.
  • The API server is exposed. For the vendor to reach it you need a VPN or a public address.
  • What was done is invisible. If the cluster's audit log is off you cannot tell who did what, and if it is on you see only the service account.

The ticket model

In Captivo Access the person connects with their own kubectl, Lens, k9s or Helm. In the portal they press Connect and download a kubeconfig; the server in the file is your console's /k8s/ address, and the token is a short-lived connection ticket, not a cluster credential. The API server stays private; only the Connector next to the cluster reaches it, through the tunnel it opens outward.

  1. Prepare the cluster. Set up the cluster on the resource form prints a YAML filled with your groups and your read-only choice. A cluster administrator applies it once with kubectl.
  2. Add the cluster as a resource. Enter the address, a service account token and the cluster CA. The token is sealed to the Connector and users never see it.
  3. Grant access. The person presses Connect on the cluster in My access, picks their operating system and downloads the kubeconfig.
  4. Use it. kubectl works as normal. Captivo reads the verb, resource and namespace of every request and, if it breaks a rule, rejects it before it reaches the cluster.
CAPTIVO ACCESSOpen one door for your vendor, not your networkTime-boxed, passkey-verified, recorded access. Free tier: 1 connector, 5 resources; no credit card.Explore Access Start free

Why no credential gets out

Captivo's service account token is never shown to the user. The Authorization and Impersonate headers the client sends are dropped, so nobody can edit the kubeconfig and act as someone else. The ticket is valid for at most eight hours, never outlives the entitlement, and access is rechecked every minute; when the entitlement ends the session is terminated, running exec sessions included.

Rules sit on the resource

You set rules such as read-only, a namespace limit, and whether exec and port forwarding are allowed on the resource. A rule change reaches open sessions within a minute and the person does not reconnect. By default requests run as the user's e-mail address and the groups you gave (impersonation), so the cluster's own audit log can show the person too.

The cluster's RBAC still applies. A Captivo rule can only narrow, never widen. If you do not bind a cluster role to the user in impersonation mode, the cluster answers Forbidden.

What is recorded

Every request is kept with its verb, resource, namespace, result and duration. kubectl exec is recorded like a terminal, can be watched live and carries its exit code. Request bodies and Secret contents are never stored.

What to know

  • Captivo is not a browser kubectl and does not discover clusters for you.
  • The service account token is long-lived; the YAML the form prints limits what it can act as, and it cannot be cluster-admin. The Connector must be at least 2.62.0.
  • Port forwarding is possible only with Read only off, and its content is not recorded; each one is written to the log.
  • On your own server, the proxy in front must forward the /k8s/ path to the data plane allowing upgrades, with response buffering off and an unlimited request body.
  • A kubeconfig belongs to one person and must not be shared. When it expires kubectl gets 401 and the person downloads a new file from Connect.

With Captivo Access

Details are on the Kubernetes access page. To prove what was done, read recording vendor sessions.