Skip to content
All posts
· 7 min read ·

An agent can change keys and keep its identity

November IETF drafts distinguish routine credential rotation from retiring a workload identity. That matters when agents share a gateway or keep the same public listing.

Two replicas of the same agent can rotate their credentials and remain the same principal for a downstream service. Two agents behind the same gateway may need separate identities even when their traffic leaves through the same endpoint. The November revision of the IETF's workload identity architecture draws that line at the ability to audit, revoke and apply policy to each agent independently. It gives operators a practical test for deciding what an agent identity should represent. WIMSE architecture Internet-Draft, §3.4.11

The test matters to discovery as well. A public listing can remain useful across deployments while a runtime credential expires, a workload is suspended or a second principal begins serving the same endpoint. Systems that index agents and systems that accept their requests each need a way to record which of those changes occurred.

The principal has a longer life than its credentials

The IETF working group's November 2 AI Identity Management System draft, AIMS, treats agents as workloads and assigns each participating agent a workload identifier. The identifier persists through credential renewal. An agent's retirement ends that identity's use, and the draft calls for keeping it out of circulation when assigning identifiers to other agents. In the companion workload credentials draft, a Workload Identity Token or Certificate binds a public key to an identifier. The peer uses the applicable authentication mechanism to verify that the caller controls the corresponding key. AIMS Internet-Draft, §§6–9 · WIMSE Workload Credentials Internet-Draft

This separates an issuer's naming decision from its issuance decisions. A credential for a new key can identify the same principal when the issuer authorizes that binding and the receiving service trusts it. An on-call investigator can use the principal to find activity spanning the rotation and the credential identifier to identify the specific key epoch involved. A credential can expire while the principal is still permitted to receive another one. Retiring the principal also ends the basis for issuing new credentials to it.

A November 17 preprint on Agent Trust Infrastructure offers a concrete comparison. In its simulation, an agent's identifier is derived from the hash of its public key, and the organization certificate binds that identifier to an organization and role. The authors leave key rotation outside the simulated threat model. Change the key in that design and the hash-derived identifier changes. An operator seeking continuity would need a separate stable name or a trusted link between old and new identifiers. AIMS puts that continuity in the identifier itself. Agent Trust Infrastructure preprint, §V-A

Revocation tells you where to draw the boundary

A gateway can demonstrate independent revocation when a verifier suspends one agent and the others continue. In the WIMSE draft, logically distinct agents that need separate audit, revocation or policy should have distinct workload identities. When they present the same workload credential, the downstream service authenticates the shared principal. An internal log can record which component the gateway says it dispatched to. An outside verifier needs a trusted binding to distinguish those agents independently. WIMSE architecture Internet-Draft, §3.4.11

During routine rotation, key one expires and key two is issued to agent A. When agent A is retired, its identity is closed and a successor receives agent B. Routine credential rotation Agent A Credential for key 1 Credential for key 2 Replacement with a new principal Agent A Agent B Identity retired New identity issued
Illustrative lifecycle. The issuer can renew a credential for an existing principal or issue a credential to a successor with its own identity.

The same distinction helps with rolling upgrades. A team can keep the logical principal stable when it replaces a replica under the same authorization and audit policy. When a second agent must be suspendable on its own, issue it its own identity and exercise that separation at the downstream service. Checking logs after a deployment tests attribution. Withholding access from one principal and observing the result tests whether the boundary is actually enforced.

A directory needs evidence of the binding

A2A 1.0.1 already has a rotation mechanism for a different object. An Agent Card can carry multiple JSON Web Signatures to support rotation of the card-signing key. Those signatures cover the canonicalized card. Runtime workload credentials cover the principal that a peer authenticates. They can have different issuers, renewal schedules and scopes. A2A 1.0.1, §8.4

For a registry or an enterprise inventory that wants to connect the two, a useful evidence record ties a particular card or endpoint to a workload identifier and trust domain, names the authority that supplied the binding, and records when a peer observed that identity. A public registry can retain the operator's declaration where independent observation requires private access. A downstream verifier with that access can test the same binding directly. Keeping the evidence history makes it possible to tell a routine renewal from a change of principal at a familiar URL.

The next implementation signal is an observable lifecycle test. Rotate a workload credential and confirm that requests still resolve to the same authorized principal. Then retire one principal behind a shared entry point and confirm that downstream policy denies it while its neighbor still works. These two results would show whether a deployment can preserve identity through routine change and withdraw it when the agent is retired.

Sources

Cite this post

@misc{hilbers2026agentidentityrotation,
  author = {Hilbers, Sebastiaan},
  title = {An agent can change keys and keep its identity},
  year = {2026},
  month = nov,
  url = {https://agenstry.com/blog/agent-identity-key-rotation}
}
← Back to blog Agenstry