Skip to content
IAM Insights

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.

Fig. 1

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

    1. 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.
    2. 2BI-FIND-2026-0280Choda reports that after a bank enforced privileged access management for administrators, humans' use of non-human accounts rose sharply.
  • 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

    1. 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.
  • IETF Datatracker · June 15, 2026OAuth's SPIFFE draft opens metadata URLs to all three credentials and says what a self-served key cannot prove

    1. 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.
    2. 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.
  • IETF Datatracker · July 6, 2026IETF draft: AI agents you need to audit or revoke separately should not share one identity

    1. 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.
    2. 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.
    3. 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.
  • 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

    1. 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.
  • IETF Datatracker · July 1, 2026The 'intent' in the Agentic JWT draft is a workflow step, and the agent reports its own fingerprint

    1. 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.

All columns

Was this column useful?

Share this column

Follow us on LinkedInRSS feed

Weighing the same question in your own identity program? Talk to Boston Identity