TL;DR: Anthropic’s workload identity federation for Claude replaces permanent API keys with runtime trust based on existing workload identity, reducing credential spread across agents, MCP servers, and orchestration systems, according to Riptides. The governance break point is the assumption that reusable credentials should still be injected into dynamic AI workloads.
At a glance
What this is: Riptides describes Anthropic workload identity federation for Claude as a shift away from permanent API keys toward short-lived, workload-bound trust.
Why it matters: It matters because IAM teams now have to govern AI workload access as runtime identity, not as a static secret distribution problem.
Context
Anthropic workload identity federation changes the way AI workloads authenticate by removing the need to push permanent vendor credentials into the runtime. In practical terms, the workload presents its own identity and receives access through federation, which is a better fit for dynamic AI systems than copied secrets.
The governance gap is not whether federation works in principle. It is that many IAM programmes still assume AI systems can be managed like ordinary applications with long-lived credentials, stable execution paths, and predictable rotation windows. That assumption breaks once agents, MCP servers, and orchestration layers begin to move credentials across transient components.
For NHI governance, the issue is lifecycle control. If the workload identity is the trust anchor, then the control point moves from secret storage to issuance, binding, and revocation policy across the workload estate.
Key questions
Q: What breaks when AI agents rely on long-lived API keys?
A: Long-lived keys turn a single leaked secret into persistent authority, and agents create more places for that secret to leak through prompts, logs, cache layers, and tool outputs. Once the key is reused across tasks, revocation becomes slow and unreliable. Short-lived credentials are safer because they reduce the window in which exposure can be exploited.
Q: How do you know if workload identity federation is actually reducing risk?
A: You should see fewer long-lived credentials stored in containers, secrets managers, and pipeline variables, plus a smaller set of systems able to mint or reuse Anthropic access. If teams still depend on copied secrets for routine execution, federation has not yet changed the governance model in practice.
Q: What signs show that secret-based AI access is becoming ungovernable?
A: Look for repeated key injection into containers, manual rotation scripts, credentials copied across agents or toolchains, and unclear ownership of revocation. Those are signs that access is being governed through secret handling rather than through a controlled identity lifecycle, which does not scale in dynamic AI environments.
Q: Should IAM teams prioritise federation over more secret rotation?
A: Yes, when the workload is dynamic and the same credential would otherwise be copied into several components. Rotation still matters, but it does not solve the structural problem of placing reusable secrets inside runtime paths that were never meant to hold them. Federation changes the access model rather than trying to patch it.
Technical breakdown
Workload identity federation replaces secret distribution
Workload identity federation lets a runtime system prove who it is by using an identity it already has from its host or platform, rather than carrying a reusable API key. In this model, the target service trusts the attested workload identity and issues short-lived access for the session or task. That removes one of the most fragile patterns in AI infrastructure, which is copying credentials into containers, agents, and toolchains that were never designed to hold them safely. For Claude access, the practical change is that authentication becomes a federation problem rather than a secret management problem.
Practical implication: treat federation as the control point for AI workload access instead of distributing static vendor secrets.
Why dynamic AI workloads break static secret assumptions
Dynamic AI workloads behave differently from traditional applications because their runtime paths are more fluid. Agents can call tools, MCP servers, databases, cloud services, and internal APIs in a single operating session, which means credentials may be passed between components that change shape or purpose during execution. Static API keys do not fit that pattern well because they assume a stable owner, a stable place to store the secret, and a stable path for revocation. Once credentials travel through orchestration layers and transient workers, the blast radius becomes a governance problem, not just an operational inconvenience.
Practical implication: model AI access around runtime trust boundaries, not around where a secret can be stored.
Lifecycle control moves from keys to trust bindings
When federation is used correctly, the important asset is no longer the key itself but the binding between workload identity, service account, and permitted access scope. That binding defines who can obtain credentials, under what conditions, and how quickly access can be revoked. In NHI governance terms, this is a shift from secret custody to identity lifecycle governance. The real control question becomes whether the federation rule, service account, and workload selector are tightly scoped enough to prevent one workload from inheriting access meant for another.
Practical implication: review federation bindings with the same discipline you would apply to privileged NHI lifecycle controls.
Breaches seen in the wild
- Kubeflow cryptomining attacks 2020: Exposed Kubeflow dashboards and a notebook's mounted Kubernetes service account let attackers run cryptominers on tens of ML clusters.
- Nx s1ngularity attack 2025: Attackers stole Nx's npm token via a GitHub Actions flaw and shipped malware that stole 2,349 secrets and abused developers' AI CLIs.
Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
Static API keys are the wrong trust primitive for dynamic AI workloads. The article is not really about Claude at all, it is about the collapse of the old secret-injection model when workloads become transient and tool-rich. Once agents, MCP servers, and orchestration layers begin to move through changing runtime paths, the operational assumption that a credential can be safely copied, stored, and later rotated stops holding. Practitioners should treat this as a governance boundary change, not a feature update.
Runtime workload identity becomes the more accurate control surface for NHI governance. If the workload itself is the identity subject, then access should be established at runtime through trust binding rather than through reusable secrets. That aligns with OWASP-NHI thinking on secret leakage and overprivileged non-human access, but the deeper point is architectural: the credential is no longer the thing being governed, the identity relationship is. IAM teams should re-centre policy around issuance and revocation, not secret distribution.
Ephemeral credential trust debt: The article exposes the cost of designs that keep deferring the move away from permanent credentials. That debt accumulates each time a team embeds another API key, another injection path, or another rotation workflow into a dynamic AI stack. The implication is that governance programs need to recognise credential lifetime as an architectural property of the workload, not a manual hygiene task.
NHI lifecycle governance now extends into AI orchestration layers. Claude, MCP servers, cloud services, and internal systems are no longer separate control domains when the same runtime can chain access across them. The strongest programmes will stop asking whether an AI workload has a secret and start asking how its identity is issued, constrained, observed, and revoked across the full execution path. That is the control model practitioners need to build toward.
Federation does not remove risk, it relocates it. The article shows that the security question shifts from secret storage to federation rule design, workload scoping, and delegated trust boundaries. That is a better failure mode to govern, but it is still a failure mode if the bindings are too broad or the selectors too permissive. Practitioners should expect the next wave of incidents to concentrate around mis-scoped trust relationships rather than exposed static keys.
From our research library:
- 24,008 unique secrets were exposed in MCP configuration files in 2025 alone, the protocol's first year of widespread adoption, according to the State of Secrets Sprawl 2026.
- 28% of secrets incidents now originate outside code repositories, in Slack, Jira, and Confluence, and are 13% more likely to be categorised as critical than code-based leaks, according to the State of Secrets Sprawl 2026.
- Read next: Cloud Workload Identity Guide
What this signals
Ephemeral credential trust debt: AI runtimes accumulate governance debt whenever teams keep compensating for dynamic access with reusable secrets. The longer the secret distribution model survives, the more the organisation depends on rotation discipline to mask a structural identity design problem.
This is where workload identity starts to matter as a governance primitive rather than a platform preference. If a Claude-enabled workload can authenticate through its existing identity, the security team can stop treating every new agent, MCP server, or orchestration job as another secret distribution event.
The pressure point is already visible in broader secret-sprawl data: 24,008 unique secrets were exposed in MCP configuration files in 2025 alone, the protocol's first year of widespread adoption. That is a warning that AI toolchains are becoming a credential sprawl surface faster than most programmes can inventory them.
For practitioners
- Audit where permanent Anthropic credentials still enter AI runtimes Map every place an API key, token, or static secret is injected into agents, MCP servers, containers, or orchestration jobs. Replace each injection point with a runtime identity path or retire the workflow if the identity boundary cannot be expressed cleanly.
- Bind workload identity to access scope Define federation rules so a workload can only obtain the Claude access it actually needs, and only from the selector that identifies that workload. Avoid broad bindings that let one runtime inherit access intended for another.
- Remove secret rotation from the workload path Shift rotation and revocation handling into the infrastructure layer so application code and agent logic do not manage token refresh or credential expiry. The workload should authenticate, not orchestrate its own secret lifecycle.
- Review AI toolchains for credential propagation Trace how credentials move between agents, MCP servers, and internal services during a single task. Any path that copies a reusable secret across components should be treated as a governance defect, not just an implementation choice.
Key takeaways
- Dynamic AI workloads make permanent API keys a poor fit because credentials spread across agents, MCP servers, and orchestration layers too easily.
- The core governance shift is from secret storage to runtime identity, binding, and revocation control.
- Federation helps only when workload scope is tight enough that one runtime cannot inherit access meant for another.
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 and MITRE ATT&CK address the attack and risk surface, while NIST SP 800-53 Rev 5 and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-02 — Secret Leakage | The article focuses on eliminating permanent API keys from AI runtime paths. |
| NHI-07 — Long-Lived Secrets | Permanent Anthropic credentials are the long-lived secret pattern this article challenges. | |
| NHI-05 — Overprivileged NHI | Broad workload bindings can hand one runtime more Claude access than it needs. | |
| Recommendation — Reduce NHI secret leakage by replacing injected API keys with workload-bound federation. Retire long-lived NHI secrets from AI workflows and move access to short-lived federation. Scope federation bindings so each workload receives only the access it actually requires. | ||
| NIST SP 800-53 Rev 5 | IA-5 — Authenticator Management | The article is about credential lifecycle handling for non-human access. |
| IA-9 — Service Identification and Authentication | Workload identity federation is service-to-service authentication for non-human actors. | |
| Recommendation — Apply IA-5 to manage issuance, rotation, and revocation of AI workload authenticators. Use IA-9 to authenticate workloads through federated non-human identities rather than shared secrets. | ||
| MITRE ATT&CK | TA0006 — Credential Access | The article addresses reducing exposure of reusable credentials across dynamic AI systems. |
| Recommendation — Map exposed AI runtime secrets to TA0006 and prioritise reducing their distribution footprint. | ||
| NIST Zero Trust (SP 800-207) | Trust Engine — Policy Enforcement and Continuous Verification | Federation shifts AI access from static secrets to runtime trust decisions. |
| Recommendation — Enforce runtime verification so AI workloads authenticate through current trust signals, not stored secrets. | ||
Key terms
- Workload Identity Federation: A mechanism allowing workloads in one environment to authenticate to another using short-lived tokens rather than stored credentials, based on mutual trust between identity providers.
- Ephemeral Credentials: Ephemeral credentials are short-lived access artefacts issued for a limited task or session. They reduce the window for abuse, but they only improve security when paired with strong scope limits, telemetry, and automatic revocation at task completion.
- Runtime Identity: Runtime identity is the practice of making identity and authorization decisions at the moment an action occurs. For agents and workloads, it means access is validated against live context, not only against the identity state set during onboarding or provisioning. That makes accountability and scope enforcement possible inside fast-moving workflows.
- Credential Binding: Credential binding is the process of linking a digital credential to the legitimate holder so it cannot be easily reused by someone else. Binding may rely on cryptographic signatures, device controls, or attestation from a trusted issuer. It is central to preventing copied, altered, or stolen documents from being accepted as authentic.
Deepen your knowledge
NHI governance, agentic AI identity, and machine identity lifecycle are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are building or maturing an IAM programme, it is worth exploring.
Published by the NHIMG editorial team on June 10, 2026.
Updated on October 10, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org