By NHI Mgmt Group Editorial TeamPublished 2026-03-25Domain: AnnouncementsSource: Kong

TL;DR: Event streaming teams still rely on coarse topic-level ACLs, fragmented identity models, and complex mTLS setups even as Kafka underpins financial transactions and AI inference pipelines, according to Kong. The security gap is no longer theoretical: event systems need identity-aware policy enforcement, not just infrastructure controls.


At a glance

What this is: Kong’s Event Gateway v1.1 frames event streaming security as an identity problem, adding OAuth claim mapping and native mTLS for Kafka-linked event access.

Why it matters: This matters because IAM, NHI, and platform teams increasingly need to govern who or what can publish and consume events without falling back to broad broker-level access or custom translation layers.

👉 Read Kong's post on identity-aware security and policy enforcement for event streaming


Context

Event streaming has become a core control point for real-time applications, but most security models around it still treat the broker as infrastructure rather than an identity-aware decision point. That creates a mismatch between modern web identity standards and Kafka’s native security posture, especially when external partners, edge devices, or AI systems need scoped access to streams.

The result is familiar to identity teams: coarse-grained topic access, inconsistent certificate handling, and no clean way to map claims like role, tenant, or agent context into authorization. Kong is addressing that gap by arguing that events need the same policy logic that APIs already use, which is a typical enterprise problem rather than an edge case.


Key questions

Q: How should security teams enforce least privilege for Kafka event consumers?

A: Security teams should enforce least privilege by mapping trusted identity claims into event authorization, then restricting publishers and consumers to the smallest usable stream scope. That works best when policy evaluation happens at the gateway rather than inside broker ACLs alone, because the gateway can combine identity context, tenant boundaries, and audit logging in one control plane.

Q: Why do event-driven systems create identity governance problems for IAM teams?

A: Event-driven systems create identity governance problems because they often expose data through broker-level controls that do not understand user, tenant, or workload context. IAM teams then end up with coarse permissions, fragmented certificates, and custom translation logic. The practical answer is to align event access with the same identity and policy model used for APIs.

Q: What breaks when Kafka access is managed only with static ACLs?

A: Static ACLs break down when multiple business units, partners, or AI consumers need different levels of access to the same stream. They do not natively evaluate claims, so teams either over-grant access or build middleware to translate identity into broker rules. That creates brittle governance and slows safe event exposure.

Q: How should organisations govern non-human consumers of event streams?

A: Organisations should govern non-human consumers with the same discipline used for other machine identities: scoped access, certificate or token lifecycle control, and full auditability. The key difference is that event consumers may act at high speed and at scale, so entitlements must be explicit and continuously reviewable before data is exposed.


How it works in practice

OAuth token claim mapping for event authorization

OAuth token claim mapping lets a gateway translate identity context in a JWT into policy decisions at the event layer. In practice, that means claims such as role, scope, tenant, or client context can govern whether a publisher or consumer may interact with a topic. This shifts security from static broker ACLs to contextual authorization at the edge, which is especially relevant when the same event stream must serve multiple business units or external parties.

Practical implication: map the claims you already trust in API access into event policies instead of creating separate identity logic for Kafka.

Native mTLS authentication in Kafka-adjacent architectures

Kafka commonly uses mutual TLS for client-to-broker authentication, but bridging external access often creates certificate sprawl or forces teams to terminate trust too early at the edge. Native mTLS support at the gateway preserves certificate-based identity while centralising trust-store management and policy enforcement. The important architectural point is that authentication and authorization stay aligned, so the gateway can validate the client and still apply identity-aware controls before forwarding traffic.

Practical implication: centralise certificate trust and enforce mTLS at the control point that also applies policy, rather than splitting identity and transport decisions.

Zero trust for event streams is an identity model, not a transport model

A zero trust design for event streaming does not stop at encrypted transport. It requires each event interaction to be evaluated against identity, context, and least privilege before data is exposed. That is why the combination of OAuth claims and mTLS matters: one identifies who the caller is and what context it brings, while the other secures the channel. Together they move event infrastructure away from broker-centric trust and toward policy-driven access.

Practical implication: treat event access as a policy decision at runtime, not as a network placement problem or a broker-only setting.


NHI Mgmt Group analysis

Event streaming has reached the point where identity controls must move with the data path. Kafka and similar platforms now carry financial transactions, partner integrations, and AI inference workflows, which means topic-level ACLs are too blunt for real governance. The identity problem is no longer whether a system can connect, but whether it can carry enough context to make a decision at the point of access. Practitioners should treat event security as part of IAM and NHI governance, not as a separate broker-hardening exercise.

Identity-aware policy enforcement is the named concept that event platforms now need. Static ACLs answer a narrow broker question, but policy enforcement can absorb role, tenant, and client context without custom middleware. That matters because event systems increasingly serve multiple actors, including non-human consumers that need constrained access rather than broad entitlement. The implication is that event governance must become context-aware if organisations want to expose streams safely across internal and external boundaries.

mTLS alone is not an identity strategy, and OAuth alone is not a transport strategy. The article shows why teams that separate these controls end up with either brittle certificate management or context-free access decisions. Combining them narrows the gap between authentication and authorisation, but the governance value comes from treating both as part of one access model. Practitioners should align transport trust and policy logic before event systems are opened beyond a single trust domain.

AI and agent-based event consumers make the governance gap more visible, not less. Once machines consume streams at scale, access decisions need to account for tenant scope, workload identity, and downstream blast radius. This is where event security overlaps with NHI governance: machine consumers should not inherit human-style assumptions about static roles or manual review. The practical conclusion is that teams exposing events to AI workloads must design for constrained, auditable access from the start.

From our research:

  • 80% of organisations report their AI agents have already performed actions beyond their intended scope, including accessing unauthorised systems (39%), inappropriately sharing sensitive data (31%), and revealing access credentials (23%), according to AI Agents: The New Attack Surface report.
  • Only 52% of companies can track and audit the data their AI agents access, leaving 48% with a complete blind spot for compliance and breach investigation.
  • For a broader control baseline, see NHI Lifecycle Management Guide for provisioning, rotation, and offboarding patterns that also matter for machine consumers.

What this signals

Identity-aware event policy is becoming a prerequisite for safe AI consumption of streams. As more workloads read from Kafka-backed pipelines, organisations need to decide whether the consumer is a user, service, or agent before granting access. The more important shift is operational: teams should expect event access reviews to converge with machine identity governance rather than remain isolated in platform engineering.

Policy enforcement at the gateway creates the right boundary for audit and revocation. If claims, certificates, and stream entitlements are governed in one place, practitioners can investigate and remove access without chasing broker settings across multiple clusters. That aligns with the lifecycle thinking in the NHI Lifecycle Management Guide and avoids treating event access as a one-off integration task.

AI consumers introduce a new identity pressure point for event platforms. With 80% of organisations already seeing agent behaviour exceed intended scope in some form, teams exposing streams to automation should assume that access creep will happen unless policy is explicit. The useful next step is to align event controls with the OWASP Agentic AI Top 10 and map where non-human consumers can overreach.


For practitioners

  • Map identity claims into event policy decisions Inventory the claims your IdP already issues for roles, tenants, and scopes, then define which ones should govern publish and consume rights at the event edge. Keep the policy logic close to the gateway so the broker does not become the only place where access is decided.
  • Centralise mTLS trust and certificate lifecycle ownership Move trusted certificate bundles into one governed control point and make certificate issuance, rotation, and revocation visible to the team enforcing event access. That reduces duplicated trust stores and helps prevent inconsistent authentication behaviour across environments.
  • Separate broker transport from authorisation logic Use the gateway to validate the connection and decide access, then leave Kafka to do what it does best as a stream processor rather than a policy engine. This avoids hard-coding identity rules into broker configuration and makes policy changes easier to audit.
  • Define scoped event access for external and AI consumers Create explicit patterns for partner applications, edge devices, and AI workloads so each consumer gets only the stream segments and topic filters it actually needs. Require tenant-bound claims and audit logging for every non-human consumer.

Key takeaways

  • Event streaming security now depends on identity context, not just broker reachability or encrypted transport.
  • Kafka ACLs and certificate handling remain useful, but they are too coarse on their own for multi-tenant and AI-driven event access.
  • Teams exposing streams should align gateway policy, identity claims, and lifecycle governance before event access expands further.

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.

FrameworkControl / ReferenceRelevance
NIST Zero Trust (SP 800-207)Zero trust is the article's core model for event access decisions.
NIST CSF 2.0PR.AC-4Identity-aware event access maps directly to access management and least privilege.
OWASP Non-Human Identity Top 10NHI-03Machine consumers need controlled lifecycle and credential handling.

Treat event-consuming workloads as NHIs and manage their credentials through a defined lifecycle.


Key terms

  • Event Gateway: An event gateway is a policy enforcement layer placed in front of a streaming platform to handle identity, authorization, and transport controls before messages reach the broker. It reduces the need for custom middleware by centralising access decisions for publishers and consumers.
  • OAuth Claim Mapping: OAuth claim mapping is the process of taking identity attributes from an access token and turning them into authorization decisions. In event streaming, it lets roles, tenant IDs, and scopes shape who can publish or consume data without inventing a separate identity model.
  • Mutual TLS: Mutual TLS is a certificate-based authentication method where both client and server prove their identity during the connection handshake. For event systems, it provides strong transport trust, but it still needs policy logic to decide what the authenticated client may access.

Deepen your knowledge

NHI governance, agentic AI identity, and machine identity security 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 operational governance, it is worth exploring.

This post draws on content published by Kong: Bringing Identity-Aware Security & Policy Enforcement to Event Streaming. Read the original.

NHIMG Editorial Note
Published by the NHIMG editorial team on 2026-03-25.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org