TL;DR: Cryptographic signing, TLS orchestration, and just-in-time credential delivery require kernel-level control, making eBPF well suited to tracing and filtering packets but not to creating, binding, and protecting workload identities, according to Riptides. The deeper issue is that identity governance for non-human workloads breaks when the control plane cannot own the credential lifecycle end to end.
At a glance
What this is: This is an analysis of why kernel modules, not eBPF, are used when workload identity must be created, signed, bound to a process, and delivered just in time.
Why it matters: It matters because IAM teams and security architects need to understand where packet-level tooling ends and identity lifecycle control begins for NHI, federated workloads, and credential injection.
👉 Read Riptides' analysis of kernel modules versus eBPF for workload identity
Context
Kernel-level workload identity is about controlling the credential lifecycle where the process actually runs, not just observing traffic after the fact. The article argues that eBPF can shape and inspect packets, but it cannot create asymmetric keys, manage TLS handshakes, or create filesystem-backed delivery points such as sysfs for just-in-time credential exposure.
That distinction matters for non-human identity programmes because workload credentials are now part of the same governance surface as service accounts, tokens, and certificates. If the trust anchor sits outside the process boundary, then short-lived credentials can still be exposed, reused, or detached from the workload that was supposed to own them.
Key questions
Q: When should security teams use kernel-level controls instead of eBPF for workload identity?
A: Use kernel-level controls when the job includes key creation, credential binding, protected delivery, or TLS orchestration. eBPF is strong for visibility and policy enforcement, but it is not a place to generate cryptographic material or own the credential lifecycle. If identity must be created and protected inside the runtime boundary, the kernel is the more suitable control point.
Q: Why do short-lived workload credentials still need strong governance?
A: Short-lived credentials reduce exposure time, but they do not remove the need to govern bootstrapping, attribution, and revocation. A workload can still leak value if the root secret is persistent or if the credential is not tied to the correct process. Governance must cover the full issuance path, not just the token lifetime.
Q: What do security teams get wrong about eBPF and identity enforcement?
A: Teams often assume that because eBPF can inspect traffic, it can also handle identity operations. In practice, eBPF cannot create asymmetric keys, manage filesystem-backed delivery, or run a TLS handshake. That makes it a control for observing and shaping traffic, not for securely establishing or protecting workload identity.
Q: How should organisations reduce secrets exposure in workload identity flows?
A: Push credential handling as close to the execution boundary as possible, and make exposure conditional on the requesting process. Minimise long-lived bootstrap material, eliminate unnecessary user-space handling of secrets, and ensure every delivery path has a clear owner. The goal is to make credential exposure both time-bound and attributable.
Technical breakdown
Why kernel modules can bind identities to processes
A kernel module can sit at the TCP layer, inspect the destination and policy, and tie credential issuance to the process that opened the connection. In this model, the kernel is not just moving bytes. It is also creating ephemeral X.509 material, binding that material to a process context, and coordinating TLS setup before the session leaves the host. That matters because identity is no longer represented as a reusable secret in userspace. It is represented as a short-lived, process-scoped object inside the trust boundary that already mediates the connection.
Practical implication: if a workload identity system cannot bind credentials to process context, it is still vulnerable to secret reuse and lateral access.
Why eBPF stops short of cryptography and certificate generation
eBPF is designed for safe, constrained programmability, not for big-integer cryptography, keypair generation, or CSR creation. It can inspect or redirect traffic, but it cannot realistically implement a TLS stack or create the filesystem objects needed for direct credential delivery. That limitation is structural, not temporary. The sandbox that makes eBPF safe also prevents it from becoming the execution environment for cryptographic identity operations. For identity governance, that means eBPF can observe control points, but it cannot own the credential lifecycle itself.
Practical implication: use eBPF for observability and lightweight enforcement, but do not assign it responsibilities that require key creation or protected credential issuance.
How just-in-time credential delivery changes the attack surface
Just-in-time delivery only works if the credential is exposed at the exact moment the workload needs it and only to the intended process. The article describes two mechanisms: scoped sysfs delivery and on-the-wire injection of short-lived credentials at egress. Both aim to keep long-lived secrets out of application memory and out of the hands of the operator. That shifts the risk from secret storage to credential orchestration. The control question becomes whether the runtime can guarantee time-bound, process-bound exposure without creating a persistent bootstrap secret.
Practical implication: treat bootstrap secrets, process attribution, and credential exposure timing as one control problem instead of three separate ones.
NHI Mgmt Group analysis
Process-bound identity is the control boundary, not packet inspection. The article shows that workload identity fails as a governance problem when the tooling only sees traffic and not the execution context that owns the credential. Packet controls can filter or observe, but they do not establish who the identity belongs to or when it should exist. For IAM and NHI teams, the implication is that identity enforcement for workloads must be anchored to process lifecycle, not to network telemetry alone.
Credential lifecycle control is the real differentiator between eBPF and kernel-level identity. eBPF can support policy enforcement, but it cannot create the key material, manage the TLS state machine, or expose credentials through protected filesystem primitives. That means the hard part is not filtering packets. It is controlling where credentials are created, where they are stored, and whether they ever leave the kernel boundary. Practitioners should view this as a lifecycle and trust-boundary problem, not a tooling preference.
Runtime identity for workloads is converging with NHI governance, not escaping it. Short-lived certificates, process-scoped credentials, and transparent header injection all point to the same requirement: non-human identity must be treated as a governed runtime object. The more a workload can authenticate, sign, and rotate credentials without application changes, the more important entitlement scope, bootstrapping, and revocation become. Identity teams should align workload identity design with NHI lifecycle controls rather than with network-only enforcement.
Ephemeral credential trust debt is a useful name for the risk this article exposes. The promise of short-lived credentials can hide the fact that the bootstrap path, process binding, and delivery mechanism still have to be trusted continuously. If the workload cannot prove ownership of the credential at runtime, the environment accumulates hidden trust debt even when secrets are short-lived. Practitioners should treat every ephemeral credential path as a governed identity channel, not as an operational convenience.
From our research:
- 85% of organisations lack full visibility into third-party vendors connected via OAuth apps, according to The State of Non-Human Identity Security.
- Only 1.5 out of 10 organisations are highly confident in their ability to secure NHIs, compared to nearly 1 in 4 for securing human identities, according to The State of Non-Human Identity Security.
- For a broader view of where these gaps are heading, review the Ultimate Guide to NHIs , 2025 Outlook and Predictions.
What this signals
Ephemeral credentials do not remove governance risk if the runtime cannot prove who owns them. The real programme question is whether your controls can tie credential issuance to a process, a policy, and a revocation path. If they cannot, short-lived access becomes a comforting label rather than a reduced-risk state.
Kernel-level identity control is a sign that workload governance is moving deeper into the execution stack. Teams that still rely on network-only enforcement will struggle to govern credential creation, injection, and rotation with enough fidelity. The gap is likely to widen as more workload identity flows are expected to operate without application changes.
If your current controls assume that secret exposure and consumption happen in separate layers, the article shows why that assumption is brittle. The next step is to align workload identity design with process attribution, bootstrap minimisation, and runtime revocation rather than with packet inspection alone.
For practitioners
- Map which controls depend on packet visibility only Separate observability use cases from identity enforcement use cases. If a control cannot create keys, bind credentials to a process, or revoke access at runtime, keep it out of the credential lifecycle path.
- Audit every bootstrap secret in workload identity flows Identify where short-lived credentials still depend on a root secret or pre-existing token. Remove or isolate any bootstrap dependency that can outlive the process it was meant to serve.
- Require process-scoped attribution for ephemeral credentials Make the issuing control prove which process requested the credential and when it was exposed. If attribution happens only at the network layer, the identity can be reused outside its intended runtime boundary.
- Review runtime controls that depend on userspace TLS termination Check whether user-space encryption prevents the inspection or rewriting steps your identity controls need. If so, decide whether the control belongs above the socket, inside the kernel, or in a different part of the stack.
Key takeaways
- The article shows that eBPF is a visibility and policy tool, while workload identity needs a control plane that can create and protect credentials inside the runtime boundary.
- The security issue is not just secret sprawl, but whether the system can bind short-lived credentials to the correct process and expose them only when needed.
- Practitioners should treat kernel-level identity design as a governance decision about process attribution, bootstrap secrets, and lifecycle control, not as an implementation preference.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST Zero Trust (SP 800-207) and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-03 | Short-lived workload credentials still need lifecycle control and rotation discipline. |
| NIST Zero Trust (SP 800-207) | PR.AC-4 | Process-bound identity and runtime authorization align with least-privilege zero trust. |
| NIST CSF 2.0 | PR.AC-1 | Identity and credential governance underpin access control for workloads. |
Map workload credential issuance and rotation to NHI-03 and remove persistent bootstrap dependencies.
Key terms
- Workload Identity: A workload identity is the cryptographic or token-based identity assigned to a non-human runtime such as a service, container, or application process. It lets the workload authenticate and be authorised without relying on a human user account or a long-lived shared secret.
- Bootstrap Secret: A bootstrap secret is the initial credential used to retrieve or mint other credentials in a workload identity flow. It is often the weakest point in the chain because it must exist before the stronger, short-lived identity can be established, so it needs strict isolation and lifecycle control.
- Process-Scoped Credential: A process-scoped credential is a secret or certificate that is valid only for one running process or execution context. The point is to prevent reuse across workloads and to make identity ownership explicit at runtime, which reduces secret sprawl and narrows the blast radius of exposure.
Deepen your knowledge
NHI governance, agentic AI identity, and machine identity lifecycle are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are responsible for identity security strategy or NHI governance in your organisation, it is worth exploring.
This post draws on content published by Riptides: When eBPF Isn’t Enough: Why We Went with a Kernel Module. Read the original.
Published by the NHIMG editorial team on 2025-10-27.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org