Site icon Spherical Cow Consulting

Who Owns the Bots? Rethinking Governance for Non-Human Identities

NHI governance must account for a sprawl of information. Artwork depicting Globe viewing from space at night with flight routes between cities. (World Map Courtesy of NASA: https://visibleearth.nasa.gov/view.php?id=55167)

Not that long ago, non-human identities (NHIs) were governed by neglect; provisioned manually, tied to a cron job or batch script, maybe mentioned in a change ticket, and rarely touched again. No formal lifecycle, no regular reviews, and certainly no clear ownership. If you remembered to rotate the password once a year, you were ahead of the game.

That kind of ad hoc governance may have been tolerable in the on-prem world, but it doesn’t hold up in today’s environments. NHIs now sit at the heart of everything from cloud orchestration to API transactions. They scale faster than humans, act autonomously, and often outnumber user accounts by orders of magnitude.

Modern systems rely on NHIs—workloads, APIs, containers, data pipelines—to function. They’re created and destroyed in seconds. They make privileged requests across systems. And they rarely show up in traditional access review processes.

So who’s responsible for these identities?

Governance Models for NHIs

One of my colleagues takes a hardline view of NHI governance: every NHI should have a named human owner, just like every user account. It’s a familiar model, and it works, up to a point. But as infrastructure gets more complex, ownership becomes less about people and more about systems. Since I’m not convinced human ownership always works for NHIs, I wanted to dig a bit deeper. This blog post is the result.

Here are five governance models I think exist in the world, sometimes combined, sometimes purely their own thing. These are more my notes on the subject rather than a narrative post; I’d love your feedback as to any models I might have missed.

📩 Want to stay updated? I write about digital identity and related standards—because someone has to keep track of all this! Subscribe to get a notification when new blog posts go live. No spam, just announcements of new posts. [Subscribe here

Human Stewardship: One Bot, One Human

Core idea: Every NHI is assigned a human owner who is responsible for managing its lifecycle and reviewing its access.

Example:
An integration with a payroll vendor uses a service account in your HR system. That account is assigned to the Payroll Manager, who gets pinged during quarterly access reviews to confirm it’s still needed and appropriately scoped.

Strengths:

Limitations:

Functional Ownership: Tied to Role, Not Person

Core idea: Instead of a specific individual, ownership is assigned to a team or function based on operational responsibility.

Example:
Your DevOps team owns a CI/CD pipeline that deploys applications. The workload identity used by that pipeline is assigned to “Platform Engineering” in your IAM system or tagging scheme, not to a specific engineer.

Strengths:

Limitations:

Autonomous Lifecycle: Let the System Handle It

Core idea: NHIs are provisioned and deprovisioned automatically based on policies and runtime conditions—no human or team is directly assigned.

Example:
A containerized function spins up during an event-driven workflow in your payment processing system. It generates a short-lived identity for that execution context, with permissions scoped to the task. When the function completes, the identity is destroyed.

Strengths:

Limitations:

GitOps Ownership: The Code Is the Owner

Core idea: NHIs are defined in code repositories, and the team that owns the repo is responsible for the identity.

Example:
An engineering team defines workload identities in Kubernetes YAML files managed through Git. Any changes to identity permissions must go through a pull request. The team that maintains the repository is responsible for keeping identities secure and aligned with policy.

Strengths:

Limitations:

Tag-Driven Governance: Metadata Rules Everything

Core idea: NHIs are governed through tags or labels that define ownership, sensitivity, environment, and other attributes used to drive policy.

Example:
An S3 bucket access role is tagged with env=prod, team=data, and owner=email@example.com. IAM automation tools use those tags to apply access restrictions, retention policies, and monitoring rules. When the owner tag changes, alerts are sent for review.

Strengths:

Limitations:

Why NHI Governance Matters

These models aren’t mutually exclusive. Most organizations end up with a mix:

That said, there’s a reason I’m researching this: non-human identity governance needs to be more strict than human identity governance. That’s not because machines are less trustworthy: it’s because they’re faster, quieter, and far more prolific. A misconfigured workload identity can do a lot of damage before anyone notices.

Think back to the BeyondTrust breach. A single, static API key—tied to an NHI with no clear governance—led to a major incident. The problem wasn’t just the key. It was the absence of lifecycle controls, automation, and ownership.

Rethinking IAM from the Ground Up

Managing NHIs well doesn’t just reduce risk. It also gives us a roadmap for what modern IAM could look like—automated, policy-driven, and flexible enough to work across platforms.

Standards like SPICE, WIMSE, and SCITT are laying the foundation for better tools and better governance models. But even without those in place, there’s work we can do now:

Summary Table: Governance Models for NHIs

ModelBest ForWatch Out For
Human StewardshipPersistent, high-risk service accountsDoesn’t scale; risk of orphaned identities
Functional OwnershipTeam-managed infrastructureFuzzy boundaries; unclear accountability
Autonomous LifecycleEphemeral, event-driven workloadsAuditing and monitoring complexity
GitOps OwnershipIaC, DevSecOps environmentsDrift between config and reality
Tag-Driven GovernanceMulti-cloud, large environmentsTag inconsistency; enforcement blind spots

Want to Go Deeper?

You might also like:

Exit mobile version