Column
Give new agents platform identity now; one bank's credential cleanup ran for years
Permiso's co-founder says agents get hard-coded keys because that is fastest. One practitioner says one bank's credential cleanup ran for years. An OAuth draft lets a workload sign in with a platform-issued identity instead. We would start new agents there, draft or not.
By Boston Identity · Published · 4 min read · For security leaders
What changed: Corrected 2026-11-22: earlier versions gave a vendor's and a practitioner's accounts as general facts, said a bank's cleanup was still running and misplaced or added gaps in the drafts; these are now attributed, corrected or removed.
On this page
One bank's cleanup did not finish
Lalit Choda says his last machine-credential programme at a bank ran nearly four years and did not finish. The first scan of one bank's source code returned over a million potential credential leaks, false positives included, at an organisation with probably 5,000-plus applications. One hard-coded account shared with about eight other applications turned a one-day rotation into three weeks. At some firms half or more of these accounts had not been used in a year.1 He told it on Andromeda Security's channel, and it is one practitioner's experience. He also says that after privileged access management at a bank gave people only temporary access to production, which they disliked, humans' use of machine accounts rose sharply.2
Agents may now be adding to those stored secrets. Permiso's co-founder says agents are being connected with hard-coded credentials, including inside MCP servers, that his team routinely sees no secrets manager in front of one, and that a scan every four to twelve hours is likely to miss agents spun up and torn down between scans.3 He is a detection vendor generalising from customers, with no counts.
The stored secret's costs are already measured in a bank's cleanup, while the platform-issued identity's gaps sit in a draft that has one preview implementation.
Swipe for the full figure →
The replacement is still a draft
An OAuth working-group draft lets a workload sign in with the identity its platform issued under SPIFFE (Secure Production Identity Framework for Everyone), in place of a stored secret. The draft keeps three forms of that credential, and the only implementation listed is a Keycloak preview that covers one of the three.4 The IETF's workload-identity architecture says a credential may be bound to a key the workload holds, and that deployments may also use bearer tokens to work with older systems.5 It treats an agent as a delegated workload, not a new kind of identity.6 The agent draft that the workload-identity working group has adopted as its own says outright that static API keys are an antipattern for agent identity.7
We think the gaps are large. In the OAuth draft, how an authorization server comes to trust a SPIFFE trust domain is out of scope. Revision -03 adds text on replay and rotation, but it has no section on a compromised trust domain, and it does not discuss AI agents or delegation at all.8 In the architecture, the section on crossing a trust-domain boundary still carries a TODO.9
Start new agents on it anyway
The OAuth draft's stated focus is client authentication, and it does not discuss AI agents or delegation.8 We still think a new agent should start there, as a workload. Choda says one shared hard-coded account turned a one-day rotation into three weeks,1 and a stored secret is what the OAuth draft lets a workload replace with its platform-issued identity.4 A self-declared identity is no substitute: the Agentic JWT draft identifies an agent by a hash its own client library computes and reports, and the identity provider never observes the running agent.10
Our advice is to issue every new agent a platform credential from its first day, even where the authorization server accepts it only in a preview build. Agents already running on hard-coded keys belong on the same inventory as the service accounts, with an owner and a date to move.
For security leaders
Agents' stored secrets add to a cleanup, and one practitioner says one bank's ran for years; give new agents platform-issued identity now, draft or not.
- Avoid stored secrets for agents: a practitioner who ran machine-credential cleanups at banks says the last one ran nearly four years and did not finish.
- Give each new agent a platform-issued credential from day one; give agents on hard-coded keys an owner and a date to move.
- Ask your team which agents use hard-coded keys today, and whether your sign-in server accepts platform-issued credentials, even in preview.
What would change our mind
We are wrong about starting new agents on platform identity now if the SPIFFE client-authentication draft stalls with Keycloak's preview still its only implementation, because teams that built on it would be stuck with a design that went nowhere and a vaulted, rotated secret would have been the safer choice.4 We are also wrong about it if evidence shows that secrets kept in a manager rotate cleanly at agent scale, with nothing like the three weeks Choda describes.1
Evidence
Built on 10 findings from 6 briefings. The numbers in the text point to these rows, grouped by the briefing each claim comes from. IDs are permanent, so a citation keeps pointing to the same claim even if we reword it.
Evidence dates: Jan 2026 to Jul 2026 · How to cite · Editorial independence
The Non-Human & AI Identity Podcast · January 7, 2026One shared service account turned a one-day password change into three weeks
- 1BI-FIND-2026-0279Cleaning up machine credentials at a large bank takes years and breaks things, Choda says, and his last programme ran nearly four years without finishing.Cleaning up machine credentials in a large bank takes years and breaks things, on the account of someone who ran the programmes. Lalit Choda says his last one ran nearly four years and did not finish; the first scan of one bank's source code returned over a million potential credential leaks, false positives included, at an organisation with probably 5,000-plus applications; automated removal of accounts whose reviewers had skipped their recertifications caused numerous production issues; and one hard-coded account shared with about eight other applications turned a one-day rotation into three weeks. At some firms half or more of these accounts had not been used in a year. Choda warns that building AI agents on top of those weak controls and static credentials would be a recipe for disaster.
- 2BI-FIND-2026-0280Choda reports that after a bank enforced privileged access management for administrators, humans' use of non-human accounts rose sharply.Tightening control of privileged human accounts drove people onto machine accounts. Choda reports that after privileged access management stopped people going straight into production at a bank and gave them temporary access instead, which they disliked, use of non-human accounts by humans rose sharply. It is one practitioner's observation from an unnamed employer. Choda frames it as an insider and compliance risk, because a person working through a non-human account is not monitored. In the desk's reading, it mirrors a worry now raised about agents acting under human credentials: in both cases an identity is used by someone it was not issued to.
The Data Exchange with Ben Lorica · January 29, 2026Permiso's own survey has 95% of firms saying AI can create or modify identities without traditional human oversight, with no method given
- 3BI-FIND-2026-0284Agents are being connected with hard-coded credentials, including in MCP servers, because it is fastest, Permiso's co-founder says without giving counts.Agents are being connected with hard-coded credentials, including inside MCP servers, because it is the fastest way to get them working. Permiso's co-founder says his team routinely does not see just-in-time access, a privileged access tool or a secrets manager in front of an agent, that coding agents simply inherit their user's access, and that a scan run every four to twelve hours is likely to miss agents that are spun up and torn down between scans. It is a detection vendor generalising from its customers with no counts. Our other briefings record the same pattern: SecureAuth's chief and a Cedar author said much the same of MCP servers, and the PocketOS agent found its token in a file.
IETF Datatracker · June 15, 2026OAuth's SPIFFE draft opens metadata URLs to all three credentials and says what a self-served key cannot prove
- 4BI-FIND-2026-0316An OAuth working-group draft lets a workload authenticate to an authorization server with the SPIFFE identity its platform issued, instead of a stored secret.An OAuth working-group draft lets a workload authenticate to an authorization server with the SPIFFE identity its platform issued, instead of a stored client secret. Revision -03 keeps three forms: a signed JWT-SVID sent as a client assertion, an X509-SVID presented over mutual TLS, and a WIT-SVID sent under attestation-based client authentication. The certificate form is checked only against the anchors of its own trust domain and never the system trust store, because, the draft says, any certificate authority in that store could otherwise issue a trusted X509-SVID for any SPIFFE ID. A server must support at least one and must advertise the ones it accepts in its metadata, under three method names the draft asks IANA to register: spiffe_jwt, spiffe_x509 and spiffe_wit. One implementation is listed, a Keycloak preview whose stated coverage is the JWT-SVID form with a trust bundle endpoint.
- 8BI-FIND-2026-0318Revision -03 adds replay and rotation text but still leaves out how an authorization server comes to trust a SPIFFE trust domain.Revision -03 adds replay and rotation text that -02 lacked, and still leaves the setup of trust outside the document: how an authorization server comes to trust a SPIFFE trust domain "needs to happen out of band and is not in scope", in the draft's words. The -03 text has no section on a compromised trust domain, and it does not discuss AI agents or delegation; its one use of "agent" is a socket path in an example. The rotation guidance is narrow: a certificate-bound access token stops working once the X509-SVID behind it rotates, and servers should refresh bundles as SPIFFE Federation describes. The draft's stated focus is client authentication, which leaves what an authenticated workload may then do to other documents.
IETF Datatracker · July 6, 2026IETF draft: AI agents you need to audit or revoke separately should not share one identity
- 5BI-FIND-2026-0301The architecture's credentials may be bound to keys, bearer tokens stay allowed for legacy systems, and how a workload gets its credential is left open.The architecture's credentials lean on keys, with bearer tokens kept for older systems. A workload credential may be bound to a cryptographic key and require proof of possession, the architecture defines a credential that binds a JWT to a key, and deployments may also use bearer tokens to interoperate with legacy systems that do not support key-bound credentials. How a workload gets its credential is left open: direct provisioning at creation, bootstrap credentials, attestation, or an agent on its host, and attestation is, in the draft's words, "intentionally defined quite broadly". A destination workload MUST NOT assume that a transport-layer identity an intermediary authenticated is the caller's application-layer identity, unless protocol or deployment policy explicitly establishes that relationship. We read that as the gateway problem in one sentence.
- 6BI-FIND-2026-0298The IETF's workload-identity architecture calls AI agents a special case of delegated workloads, which inherit the upstream principal's security context.The IETF's workload-identity architecture handles AI agents inside its existing workload model. Its one subsection on them, 3.4.11, says "AI intermediaries are a special case of delegated workloads": an agent inherits the upstream principal's security context and SHOULD pass it on when it calls downstream workloads, unless it has been explicitly authorized to translate or reduce its scope. The line the draft draws is between acting for someone and acting alone. Requests an agent makes that are not attributable to a specific upstream principal MUST be clearly distinguishable from delegated ones, for example through separate workload identities or other attributes associated with the identity. Revision -08 had said "clearly distinguished" and named token scopes where -09 says other attributes.
- 9BI-FIND-2026-0300A WIMSE identity is local to its trust domain, and the draft's section on crossing to another domain still carries an open to-do.A WIMSE identity is local to its trust domain, and the draft's way out of the domain is unfinished. Workload identifiers are scoped within a trust domain, identifiers that differ by trust domain are distinct identities even when one workload holds credentials in both, and WIMSE credentials bind the subjects and actors in delegation and impersonation tokens to a trust domain. In the draft's cross-domain example, a workload exchanges its credential at its token service for a token an external token service will accept, following the OAuth identity-chaining pattern, and the draft notes a workload may also ask the external token service directly. The cross-boundary section still reads "(TODO: align with OAuth cross domain identity and authorization)". We read that as leaving open the case of an agent hosted by one company and acting inside another.
IETF Internet-Draft (individual submission, since adopted by the WIMSE working group) · July 6, 2026Six companies' agent-auth draft, since adopted by the WIMSE group, keeps credentials out of the model's reach
- 7BI-FIND-2026-0179The draft bars the language model from an agent's credentials, which it says keeps prompt injection from making the model use or expose them.The draft's sharpest rule reads "The Large Language Model MUST NOT have access to an agent's credentials or to credentials that may be needed to access tools and services", which it says keeps prompt injection from getting the model to use, expose or disclose them. Around it sit the identity rules. An agent MUST be assigned exactly one WIMSE identifier and MUST hold credentials cryptographically bound to it; those credentials SHOULD be short-lived and MUST carry an explicit expiry, and static API keys are "an antipattern for agent identity". The draft names WIT, X.509 WIC and SPIFFE SVIDs as formats and leaves the choice to the deployment. Our briefing on Sierra's cloud agent platform found a similar boundary built in: a proxy approves each call and swaps in the credential, so the agent never holds it.
IETF Datatracker · July 1, 2026The 'intent' in the Agentic JWT draft is a workflow step, and the agent reports its own fingerprint
- 10BI-FIND-2026-0306The draft's agent identity is a fingerprint the agent's own side computes and reports, and the identity provider never observes the running agent.The agent identity in this draft is a fingerprint the agent's own side computes and reports. A client library hashes the agent's identifier, its prompt, the names and descriptions of its tools and its model settings; the identity provider stores that value at registration and, when an authenticated client requests a token, compares what the client says against what it stored. It never observes the running agent. By default the hash covers a tool's description and not its code, and the draft lists a compromised client library as a threat with no defence defined. When the hashed configuration changes, through a prompt edit or a tool update, 'the agent MUST re-register'; under the default, a tool's code can change without it. What is attested is a configuration as declared, not behaviour.
Read next
- Refuse over-broad machine access at deployment; vendor says scans likely miss brief agents
A detection vendor says scans run hours apart are likely to miss agents created and removed in between.
- 'Attested' means different things from one draft to the next. Ask what was checked
Agent identity drafts rely on the word attestation.