Local AI: Governance Before Hardware Purchase
Benedikt Langer
10 min readFour developments over two weeks show that locally operated AI goes far beyond the tech stack. ...
5 Min. Read Time
Service accounts, API keys, and AI agents often outnumber human accounts. Many of these accesses are not withdrawn. This is exactly where the next vulnerability opens up: beyond the hardened endpoint.
The Most Important Things in Brief
Related:What Control Remains After Agent Rollout / Kimi Stops Subscriptions: 7 Checks for AI Capex
What are Machine Identities? Machine identities are technical accesses through which systems act. These include service accounts, API keys, tokens, certificates, bots, and AI agents. They authenticate systems with each other, carry rights, and grow with every integration. Without an owner and lifecycle, they often remain active after their purpose has expired.
Every cloud migration, every new microservice and every automation creates identities. A deployment pipeline needs a token to roll out code. A monitoring service needs a key to read metrics. An integration between two SaaS platforms creates a technical account in the background. None of this shows up in traditional HR processes, because there is no human being onboarded or offboarded behind these accesses.
In many organizations, non‑human identities far outnumber human ones. What matters less is the exact ratio than the growth dynamic. Human identities grow linearly with the workforce. Machine identities grow with every architectural decision, with every tool in the stack and, these days, with every AI agent that accesses systems autonomously. The inventory is scaling faster than most identity programs can keep up.
The problem is compounded because these identities are poorly documented. An API key is often created quickly to get an integration running. It ends up in a configuration file, a script or a secrets manager and is rarely touched again. Who created it, what it is for and whether it is still needed is often unknown after a few staff changes.
When staff exit, the off‑boarding reflex kicks in. Machine accounts often linger until someone attacks them.
When an employee leaves the company, a well-established process kicks in: lock the account, retrieve the devices, revoke the permissions. For machine identities, this reflex is almost entirely missing. A service account created by a developer who has long since left the project remains active. The token of a deactivated application is never revoked. The test key that accidentally made it into production continues to be valid.
These orphaned accesses are especially attractive to attackers. They are often equipped with extensive permissions because least privilege is less frequently enforced for technical accounts than for humans. They are rarely monitored, as no one expects suspicious behavior from them. And they bypass many security mechanisms designed for human users. Multi-factor authentication does not work on a static API key. A stolen token behaves technically like a legitimate token.
Compromised credentials and poorly managed secrets are recurring attack vectors. Often affected are keys and tokens that reside in code, a repository, or a log file: beyond the human password. Those who only secure the human side defend only the smaller part of the attack surface.
WHERE THE RISK REALLY SITS
The Majority of Identities in a Modern Stack Are Non-Human. Exactly these accounts run the longest unsupervised, often carry the widest permissions and evade the protections built for human users. The endpoint is hardened. The 2021 service account is not.
Escaping the tangled growth requires a structured approach to inventory. Adding another security product alone won’t solve the problem. Four steps create a resilient program.
First, Discovery and Inventory. Before anything can be secured, an overview is needed. Which service accounts, keys, tokens and bots exist, in which systems, with which permissions. Cloud platforms, CI/CD pipelines, secrets managers and SaaS integrations are the typical locations. A first manual review is better than waiting for the perfect tool.
Second, Assigning Ownership. Each machine identity needs a human responsible. An account without an owner is an account that no one will deactivate because no one feels responsible. Ownership turns an anonymous token into a traceable decision that can be reviewed and revoked.
Third, Least Privilege and Rotation. Technical accounts often receive more rights than necessary, because it’s faster. Each identity should only carry the permissions required for its task. Static, indefinite secrets should be replaced by short-lived, automatically rotating credentials. A key that is issued anew every few hours presents a far smaller target.
Fourth, Lifecycle and Deprovisioning. Machine identities need the same lifecycle as humans. When an application is shut down, a project ends, or an integration is removed, the associated access must disappear automatically. Regular checks uncover accounts that have shown no activity for months. Such zombie accounts are the first candidates for revocation.
The next wave comes from within the innovation department itself. Autonomous AI agents that execute tasks independently need access to systems, data, and other services. Each of these agents is a new machine identity, often with extensive permissions to work flexibly. Unlike a rigid script, an agent makes decisions at runtime. Its behavior is harder to predict and therefore harder to monitor.
Whoever doesn’t get identity sprawl under control today imports the problem with every AI initiative in an aggravated form. An agent with excessive permissions that no one has assigned to an owner is precisely the type of access that will stand out as orphaned in two years. The discipline that applies to service accounts today is the prerequisite for safely deploying AI agents at all.
The entry is unremarkable-and precisely because of that, it works. An inventory of non‑human identities in the most critical environments, starting with the cloud platform and the central pipelines. Each identified identity receives three pieces of information: purpose, owner, and last activity. Anything without a clear purpose or without activity in the past few months lands on a checklist. From that list comes the first cleanup action, and from that a rule for the future. No new technical access is created without an assigned owner and without a defined expiration condition. The number of machine identities will keep rising. Whether they grow under control or out of control depends on this discipline.
They refer to all accesses behind which no human stands: service accounts, API keys, tokens, certificates, bots and autonomous AI agents. They authenticate to systems and carry permissions, but are rarely managed through the same processes as human user accounts. In modern environments, they are usually in the majority by count.
Because they continue to run with full rights even though no one is responsible for them anymore. Multi-factor authentication does not work on a static key. A stolen token behaves technically like a legitimate one. Attackers exploit exactly such unsupervised accounts because they are rarely monitored and often provide extensive access.
Start with visibility before control. A manual inventory of the most important environments, beginning with the cloud platform and central pipelines, beats waiting for a perfect tool. Every identity gets a purpose, an owner and a last activity. Anything without purpose or activity is reviewed and, if necessary, removed.
Read more on Digital Chiefs
Digital ChiefsWhy Your Cloud Bill Never Gets SmallerDigital ChiefsThe integration that dismantles the deal case.Digital ChiefsWhich control remains after the agent rolloutMORE FROM THE MBF MEDIA NETWORK
The Blind Spot of Digital Leaders: Why Banks Fail at Data Chaos Despite High IT Spending
Image source: AI-generated (July 2026)