---
title: "Zero Trust Kubernetes Access Without Kubeconfigs - Octelium"
description: "A free and open source, self-hosted platform for zero trust Kubernetes access. Per-verb authorization and auditing, with no kubeconfig handed to anyone."
canonical: "https://octelium.com/solutions/zero-trust-kubernetes"
---

Zero trust Kubernetes

# Kubernetes access without a kubeconfig

Octelium is a free and open source, self-hosted zero trust access platform. Its Kubernetes mode holds the kubeconfig, client certificate or bearer token, authorizes every API request on its verb, resource and namespace, and records what was called and by whom.

[Install in minutes](https://octelium.com/docs/octelium/latest/overview/quick-install.md)[Live Demo](https://demo.octelium.com)[GitHub repo](https://github.com/octelium/octelium)

- Free and open source
- Designed for self-hosting
- Works with ordinary kubectl

The platform

## A unified secure access platform

Kubernetes is one mode of the same platform. Each capability is described in detail below, in the same order.

1. [Unified access platform](https://octelium.com/docs/octelium/latest/overview/how-octelium-works.md)

   [One architecture for client-based zero-config VPN-like access over WireGuard and QUIC tunnels and clientless access over browsers for humans and OAuth2 access for workloads.](https://octelium.com/docs/octelium/latest/overview/how-octelium-works.md)

   [Read more](https://octelium.com/docs/octelium/latest/overview/how-octelium-works.md)
2. [L7-aware access control](https://octelium.com/docs/octelium/latest/management/core/policy.md)

   [Identity-based, application-layer aware ABAC access control with policy-as-code via CEL and OPA, applied on a per-request basis.](https://octelium.com/docs/octelium/latest/management/core/policy.md)

   [Read more](https://octelium.com/docs/octelium/latest/management/core/policy.md)
3. [Secretless access](https://octelium.com/docs/octelium/latest/management/core/service/secretless.md)

   [Dynamic secretless access where teams and AI agents access protected infrastructure without ever holding a credential.](https://octelium.com/docs/octelium/latest/management/core/service/secretless.md)

   [Read more](https://octelium.com/docs/octelium/latest/management/core/service/secretless.md)
4. [Unified identity management](https://octelium.com/docs/octelium/latest/management/core/user.md)

   [Teams, workloads and AI agents share the same model for identity management, access control, and auditing.](https://octelium.com/docs/octelium/latest/management/core/user.md)

   [Read more](https://octelium.com/docs/octelium/latest/management/core/user.md)
5. [Real-time visibility and auditing](https://octelium.com/docs/octelium/latest/management/core/visibility.md)

   [OpenTelemetry-native, real-time, application-layer-aware visibility and structured logging.](https://octelium.com/docs/octelium/latest/management/core/visibility.md)

   [Read more](https://octelium.com/docs/octelium/latest/management/core/visibility.md)
6. [GitOps-friendly management](https://octelium.com/docs/octelium/latest/management/core/service/managed-containers.md)

   [Octelium is administered like Kubernetes. Define your resources in YAML files, store them in a Git repository.](https://octelium.com/docs/octelium/latest/management/core/service/managed-containers.md)

   [Read more](https://octelium.com/docs/octelium/latest/management/core/service/managed-containers.md)

Client-based and clientless

## One architecture for every cluster you operate

Each Kubernetes cluster is represented by a Service, which is served by an identity-aware proxy that abstracts away the network details of the API server behind it. People keep using kubectl, and applications keep using ordinary HTTP clients.

- [Over a client-based WireGuard or QUIC tunnel, the API server is reached at a stable private name, so a private cluster does not need a public endpoint or a bastion to hop through.](https://octelium.com/docs/octelium/latest/user/cli/access.md)
- [Published clientlessly, the same Service lets workloads call the API over HTTPS with standard OAuth2 client credentials or a bearer access token, with no kubeconfig and no SDK.](https://octelium.com/docs/octelium/latest/management/guide/service/http/k8s-clientless.md)
- [A cluster in a network the Octelium Cluster cannot reach directly is served from the side of a connected host inside it, so a remote or edge cluster needs no inbound port.](https://octelium.com/docs/octelium/latest/management/core/service/overview.md)

[Read about the Kubernetes mode](https://octelium.com/docs/octelium/latest/management/core/service/kubernetes.md)

Access control

## Layer-7 aware access control with policy-as-code

Access is authorized on a per-request basis, using CEL or Open Policy Agent, against the identity behind the request and the API call itself rather than the network path it arrived on.

- [The verb, resource, namespace, API group, API version, object name and subresource are each normalized into the request context and available to a Policy.](https://octelium.com/docs/octelium/latest/management/core/service/kubernetes.md)
- [Those combine with identity, group membership, device posture, session type and time in the same expression, so read access in production can require a managed device.](https://octelium.com/docs/octelium/latest/management/core/policy.md)
- [One set of Policies covers every cluster behind the platform, which avoids maintaining parallel role bindings in each of them for the same team.](https://octelium.com/docs/octelium/latest/management/guide/cel.md)

[Read about access control and Policies](https://octelium.com/docs/octelium/latest/management/core/policy.md)

Secretless access

## Kubeconfigs that are never distributed

The upstream credential is stored in the Cluster as a Secret and used to authenticate to the API server once a request is authorized. Nobody receives a kubeconfig, a client certificate or a service account token, so there is nothing to collect back when someone leaves.

- [Kubeconfigs, client certificates with trusted CAs, and bearer tokens are all supported, and a kubeconfig containing several contexts can be pinned to the one a Service uses.](https://octelium.com/docs/octelium/latest/management/core/service/kubernetes.md)
- [Which upstream credential is used can be selected per request from identity and context, so one Service maps an operations group to a privileged identity and everyone else to a read-only one.](https://octelium.com/docs/octelium/latest/management/core/service/dynamic-config.md)
- [Revoking access is a Policy change or a Session revocation rather than rotating a credential across every cluster and every laptop that held a copy.](https://octelium.com/docs/octelium/latest/management/core/secret.md)

[Read about secretless access](https://octelium.com/docs/octelium/latest/management/core/service/secretless.md)

Identity

## One identity model for humans, workloads and AI agents

Human and workload Users share the same identity management, authentication, access control and visibility model. A deployment pipeline calling the API is authorized and audited exactly as an engineer would be.

- [Authenticate workloads with individual access tokens, OAuth2 client credentials or federated OIDC assertions from platforms such as GitHub Actions, cloud providers and Kubernetes.](https://octelium.com/docs/octelium/latest/management/core/identity-providers.md)
- [Authenticate people through OpenID Connect or SAML 2.0 identity providers, with native WebAuthn/passkeys, FIDO2, TOTP and TPM-backed authentication available for additional enforcement.](https://octelium.com/docs/octelium/latest/management/core/authenticator.md)
- [Applications running inside a cluster can be published as ordinary Services of their own, so a dashboard or an internal API does not need a separate ingress and a separate authentication story.](https://octelium.com/docs/octelium/latest/management/guide/service/http/open-source-kubernetes-ingress-controller.md)
- [Cordium, built on Octelium, provides isolated sandboxes for agents and developers, where processes reach authorized Services through the Workspace identity with no secrets inside the sandbox.](https://octelium.com/docs/cordium/latest/overview/intro.md)

[Read about identity and Users](https://octelium.com/docs/octelium/latest/management/core/user.md)

Visibility and auditing

## Every API call, with the identity that made it

Every request produces an AccessLog identifying the User, Session and Device alongside the Kubernetes detail of the request itself, emitted in real time to your OpenTelemetry OTLP receivers.

- [Entries record the verb, resource, namespace, API version and the underlying HTTP information, attributed to an Octelium User rather than to a shared service account.](https://octelium.com/docs/octelium/latest/management/core/visibility.md)
- That holds across every cluster behind the platform, so an audit does not have to be assembled from separate API server audit logs with different retention.
- Export structured AccessLogs in real time over OpenTelemetry OTLP to the observability and SIEM systems you already operate.

[Read about visibility and auditing](https://octelium.com/docs/octelium/latest/management/core/visibility.md)

Deployment and scale

## Self-hosted, Kubernetes-native and fully programmable

Run the Cluster on Kubernetes infrastructure you control, scale the data plane horizontally, manage resources declaratively, automate the platform through APIs and SDKs, and optionally deploy containerized Service upstreams with the Cluster itself.

- [Managed containers deploy, scale and serve containerized applications as Service upstreams, which also makes the platform usable as an ingress and hosting layer for the workloads it protects.](https://octelium.com/docs/octelium/latest/management/core/service/managed-containers.md)
- [Manage Cluster resources declaratively with YAML and GitOps workflows, including reproducible configuration through octeliumctl apply.](https://octelium.com/docs/octelium/latest/overview/management.md)
- [Management is centralized over the Cluster's gRPC APIs, so onboarding a new cluster can itself be automated.](https://octelium.com/docs/octelium/latest/management/guide/sdk.md)

[Read the management guide](https://octelium.com/docs/octelium/latest/overview/management.md)

The request

## What a Kubernetes API request carries, and what checks it

A kubectl call is not one decision. These are the parts of a request that matter for access control and auditing, next to the mechanism in an Octelium Cluster that handles each one.

1. 01

   ### Who is making the call

   The request carries an Octelium identity rather than a kubeconfig. People authenticate through your OpenID Connect or SAML 2.0 identity provider, and workloads through OAuth2 client credentials, access tokens or federated OIDC assertions.

   [Read more](https://octelium.com/docs/octelium/latest/management/core/identity-providers.md)

2. 02

   ### The verb

   get, list, watch, create, update, patch and delete are normalized into the request context, so read access and write access to the same resource are separate decisions rather than one role binding.

   [Read more](https://octelium.com/docs/octelium/latest/management/core/policy.md)

3. 03

   ### The resource and its API group

   The resource, API group and API version are each available, so a policy can allow pods and services while leaving custom resources or cluster-scoped objects untouched.

   [Read more](https://octelium.com/docs/octelium/latest/management/core/service/kubernetes.md)

4. 04

   ### The namespace

   The namespace is a normalized field, so the same Service can allow one group everything in staging and only reads in production, without maintaining parallel RBAC in each cluster.

   [Read more](https://octelium.com/docs/octelium/latest/management/guide/cel.md)

5. 05

   ### The object and subresource

   The object name and subresource are available too, which is what makes rules such as reading pod logs without reading pod specs, or reading a status without patching it, expressible.

   [Read more](https://octelium.com/docs/octelium/latest/management/core/service/kubernetes.md)

6. 06

   ### The underlying HTTP request

   Kubernetes is an HTTP API, and the full HTTP request is exposed alongside the normalized fields, including headers and paths, for the cases the normalized view does not cover.

   [Read more](https://octelium.com/docs/octelium/latest/management/core/service/http.md)

7. 07

   ### The credential used upstream

   A kubeconfig, a client certificate or a bearer token is held as a Secret and used to authenticate to the API server after authorization. Which one is used can itself be selected per request from identity and context.

   [Read more](https://octelium.com/docs/octelium/latest/management/core/service/dynamic-config.md)

8. 08

   ### What ends up in the audit trail

   Each request produces an identity-aware AccessLog with the verb, resource, namespace, API version and the User behind it, streamed in real time over OpenTelemetry to your own log management and SIEM providers.

   [Read more](https://octelium.com/docs/octelium/latest/management/core/visibility.md)

RBAC still decides what the credential the Cluster holds may do. What changes is that nobody carries that credential, and the decision about who may use it is made per request against an identity you already manage.

On every Octelium Cluster

The same platform capabilities ship with every deployment, whichever way you use it.

- [OIDC & SAML 2.0 SSO](https://octelium.com/docs/octelium/latest/management/core/identity-providers.md)
- [Native FIDO2, TPM 2.0 & TOTP](https://octelium.com/docs/octelium/latest/management/core/authenticator.md)
- [OpenTelemetry auditing](https://octelium.com/docs/octelium/latest/management/core/visibility.md)
- [GitOps management](https://octelium.com/docs/octelium/latest/overview/management.md)
- [Policy-as-code with CEL & OPA](https://octelium.com/docs/octelium/latest/management/core/policy.md)
- [Managed containers](https://octelium.com/docs/octelium/latest/management/core/service/managed-containers.md)
- [Clientless BeyondCorp access](https://octelium.com/docs/octelium/latest/management/core/service/clientless.md)
- [Anonymous public access](https://octelium.com/docs/octelium/latest/management/core/service/anonymous-access.md)
- [gRPC API & SDKs](https://octelium.com/docs/octelium/latest/management/guide/sdk.md)

Questions

## Frequently asked

- Does this replace Kubernetes RBAC?

  No. RBAC still governs what the credential held by the Cluster is allowed to do inside the cluster. What changes is who holds that credential and how each request is decided: the kubeconfig, client certificate or bearer token stays in the Cluster, and every API call is authorized per request against an identity you already manage, before it reaches the API server.

- How do people use kubectl?

  With their ordinary kubectl. The Service is reached at a stable private name over the client-based tunnel, and the identity-aware proxy authenticates to the API server on the User's behalf. Nobody is issued a kubeconfig, a client certificate or a service account token of their own.

- Which upstream credentials are supported?

  Three. A kubeconfig stored as a Secret, optionally pinned to a specific context when the file contains several; a client certificate with its private key and trusted CAs; or a bearer token with trusted CAs. All three are referenced by Secret name from the Service definition.

- Can workloads reach the API without a client?

  Yes. A KUBERNETES Service can be published clientlessly, so an application authenticates with the standard OAuth2 client credentials flow or a bearer access token and calls the API over ordinary HTTPS, without a kubeconfig, a client or a proprietary SDK.

- Does it work across several clusters?

  Yes. Each cluster is its own Service with its own upstream credential and its own Policies, and a cluster in a network the Octelium Cluster cannot reach directly can be served from the side of a connected host inside that network with no inbound port. People reach all of them through the same single route and the same identity.

- Do I need Kubernetes experience to run Octelium itself?

  No. An Octelium Cluster runs on top of Kubernetes, but you do not need Kubernetes experience to install, operate or use it. The quick installer provisions a complete single-node Cluster, including Kubernetes itself, on one fresh Linux VM with 2 vCPUs, 2 GB of RAM and a domain you own.

Keep reading

## Related solutions

### [Zero trust SSH](https://octelium.com/solutions/zero-trust-ssh.md)

[Identity-aware SSH access without distributing upstream private keys, with per-request Policy and session recording.](https://octelium.com/solutions/zero-trust-ssh.md)

[Read more](https://octelium.com/solutions/zero-trust-ssh.md)

### [Zero trust database access](https://octelium.com/solutions/zero-trust-databases.md)

[Secretless PostgreSQL and MySQL access with identity-aware authorization and application-layer database auditing.](https://octelium.com/solutions/zero-trust-databases.md)

[Read more](https://octelium.com/solutions/zero-trust-databases.md)

### [Self-hosted PaaS](https://octelium.com/solutions/open-source-paas.md)

[Deploy, scale and serve containerized applications as Octelium Services with private, authenticated or anonymous access.](https://octelium.com/solutions/open-source-paas.md)

[Read more](https://octelium.com/solutions/open-source-paas.md)

Get started

## Run Octelium on your own infrastructure

Install a self-hosted Cluster and start applying identity-aware access control to your Services.

[Quick install guide](https://octelium.com/docs/octelium/latest/overview/quick-install.md)[GitHub repo](https://github.com/octelium/octelium)[Enterprise package](https://octelium.com/enterprise.md)
