AG-805

Agent Credential Rotation and Short-Lived Tenure

Identity, Authentication & Non-Repudiation ~6 min read AGS v2.1 · 2026-06-06
EU AI Act NIST AI RMF ISO 42001

AGS Non-Human Identity | Identity, Authentication & Non-Repudiation | Version 2.2

1. Definition

Agent Credential Rotation and Short-Lived Tenure governs the lifetime, rotation, and revocation cadence of the credentials a non-human agent uses to authenticate to systems, tools, and other agents — requiring the shortest viable credential lifetime, automated rotation, and the elimination of long-lived static secrets.

Agents spawn, scale, and act far faster and in far greater numbers than human users, so a single leaked long-lived key becomes a durable, high-velocity attack vector. This dimension complements identity *proofing* (AG-280) and just-in-time secret *issuance* (AG-304) by governing the *ongoing lifetime and rotation* of agent credentials.

2. Scope

In scope: credential time-to-live (TTL) policy, automated rotation, prohibition of long-lived static API keys for agents, and rapid revocation cadence for agent credentials.

Out of scope: identity proofing (AG-280), JIT secret issuance (AG-304), workload attestation (AG-137), and the identity registry (AG-806). This dimension governs *credential lifetime and rotation*.

3. Why This Matters

Long-lived agent credentials are among the most common and damaging non-human-identity exposures: embedded in code, logs, or configs, they grant persistent access if leaked and are rarely rotated. Short TTLs and automated rotation shrink the window of a compromised credential from months to minutes, turning a catastrophic leak into a contained, self-expiring event — essential when thousands of ephemeral agents each hold access.

4. Requirements

5. Maturity Model

6. Test Criteria

Test 6.1: Short-Lived Credentials

Test 6.2: Rapid Revocation

Test 6.3: Rotation & Logging

7. Scoring

ScoreCriteria
0Agents use long-lived static credentials with no rotation policy
1Credentials have expiries but rotation is manual/infrequent; some static keys remain
2Short risk-tiered TTLs, automated + triggered rotation, minutes-scale revocation, logged
3Ephemeral-by-default, no static secrets in production, continuous drift detection, instant session invalidation

8. Failure Scenarios

Scenario A — Leaked Long-Lived Key: An agent's static API key is committed to a public repository. Because it never expires and is not rotated, an attacker uses it for weeks. Short-TTL ephemeral credentials would have rendered the leaked key useless within the hour.

Scenario B — Zombie Access: An agent is decommissioned but its long-lived credential is never revoked; months later the credential is reused to access internal systems. Minutes-scale revocation tied to lifecycle would have closed the access immediately.

Scenario C — Unrotated Fleet: A capability change should have triggered re-credentialing, but rotation is manual and skipped, so a fleet of agents runs for months on over-privileged, stale credentials until an audit finds the drift.

9. Regulatory Mapping

RequirementEU AI ActNIST AI RMFISO 42001
R1: Short, task-scoped TTLsArt. 15 — CybersecurityGOVERN 1.6 — AI/identity inventoryA.4 — Resources for AI systems
R2: No long-lived static keysArt. 15 — CybersecurityMANAGE 4.1 — Post-deployment monitoringA.4 — Resources for AI systems
R3: Automated + triggered rotationArt. 15 — CybersecurityMANAGE 4.1 — Post-deployment monitoringClause 8.1 — Operational control
R4: Issuance/rotation loggingArt. 12 — Record-keepingMEASURE 2.4 — Production monitoringClause 8.1 — Operational control
R5: Minutes-scale revocationArt. 15 — CybersecurityMANAGE 2.4 — DeactivationClause 8.1 — Operational control
R6: Managed secrets, exposure scanningArt. 15 — CybersecurityGOVERN 6.1 — Third-party riskA.4 — Resources for AI systems
R7: Risk-tiered TTL/rotationArt. 9 — Risk managementGOVERN 1.3 — Risk-based activityClause 6.1 — Actions to address risk
R8: Drift detectionArt. 15 — CybersecurityMEASURE 3.1 — Emergent-risk trackingClause 9.1 — Monitoring and measurement

EU AI Act — Article 15 and Article 12

Article 15 requires resilience to unauthorised access and cybersecurity appropriate to the risk; short-lived, rotated agent credentials are a baseline control. Article 12 (record-keeping) covers logging of credential lifecycle events for traceability.

NIST AI RMF — GOVERN 1.6, MANAGE 4.1

GOVERN 1.6 (system/identity inventory) and MANAGE 4.1 (post-deployment monitoring) frame the lifecycle management and continuous oversight of agent credentials.

ISO 42001 — Clause 8.1, A.4

Clause 8.1 (operational control) and Annex A.4 (resources for AI systems — managing the credentials/tooling agents depend on) require controlled, well-managed agent credentials.

Cite this protocol
AgentGoverning. (2026). AG-805: Agent Credential Rotation and Short-Lived Tenure. The Protocols of AI Agent Governance, AGS v2.1. agentgoverning.com/protocols/AG-805