Description
Kloak is an open source Kubernetes tool that keeps API keys and other secrets out of application processes by swapping them in at the network level. Your app sends requests containing a random placeholder token, and Kloak uses eBPF to transparently intercept the outgoing HTTPS traffic and replace the placeholder with the real secret at the network edge. Because the application never holds the actual credential, a compromised process has nothing to leak. Kloak works with standard Kubernetes Secrets: you add a label, mount secrets as usual, and the transformation happens automatically, with no SDK, sidecars or code changes. Host restrictions control which secrets may be sent to which destinations. It supports Go, Bun and runtimes built on OpenSSL 3.x or BoringSSL, such as Python, Node.js and curl, and installs with Helm.…
Highlights
- Replaces placeholder tokens with real secrets in HTTPS traffic
- Pure eBPF with no sidecars or agents
- Works with labelled standard Kubernetes Secrets
- Per-secret host restrictions
- No application code changes or SDK
- Helm chart installation
Ratings & Reviews
No ratings yet
Be the first to rate Kloak.
People also visit

Teleport
Certificate authority and access plane for SSH, Kubernetes, web applications
Kloak FAQ
How does Kloak protect secrets?
Applications only see placeholder values. Kloak intercepts outgoing HTTPS requests with eBPF and substitutes the real secret at the network edge, so the credential is never inside the app.
Do I need to change my code?
No. There is no SDK; you label standard Kubernetes Secrets and mount them as usual, and your manifests stay the same.
Which runtimes are supported?
Go, Bun, and runtimes built on OpenSSL 3.x or BoringSSL, including Python, Node.js and curl.
How do I install it?
With Helm: add the repo https://chart.getkloak.io, update, then run helm install kloak kloak/kloak -n kloak-system --create-namespace (optionally with --set demo.enabled=true).
Is Kloak open source?
Yes. The code and its license are published on GitHub at spinningfactory/kloak.
What are the best Kloak alternatives?
Popular alternatives to Kloak include SikkerKey, K8spacket and Teleport. See all Kloak alternatives




