Non-human identities become orphaned when they outlive the project, application or employee that created them. Service accounts, API keys, workload identities, certificates and automation tokens may continue to authenticate even after their original purpose has disappeared. Without a named person or accountable team, no one is responsible for confirming business need, reviewing permissions, rotating credentials or retiring access. Platform and security teams may operate the underlying systems, but operational involvement does not automatically establish identity ownership.
AI agents create the same problem with additional layers of delegated action. An agent is the acting workload: it invokes a model, uses tools, accesses data and executes tasks through assigned credentials and permissions. The model itself generates outputs but does not own the agent’s access, intent or consequences. Accountability must therefore attach to the deployed agent and its use case—not merely to the model provider or development team.
When ownership is ambiguous, credential lifecycle and access governance decisions become easy to defer. Reviews reach shared mailboxes, excessive privileges remain “just in case,” and retirement is postponed because dependencies are unknown. An accountable owner provides the authority to approve purpose and risk, challenge continued access and initiate decommissioning. Without that responsibility, machine identities can retain valid trust relationships indefinitely, turning administrative uncertainty into orphaned access.
Use a three-role ownership model for every machine identity and AI agent. The business owner is accountable for the use case, acceptable risk, data access and continued business need. A technical custodian implements the identity, manages credentials and runtime configuration, monitors operation and documents dependencies. Privileged access should require an independent approver—such as the resource owner, security team or designated access authority—who can challenge scope, duration and separation of duties. The custodian must not approve their own elevated access, and shared team ownership should still name an accountable lead and deputy.
Make these assignments mandatory fields in the identity inventory, rather than relying on repository files or informal knowledge. Each record should identify the business owner, technical custodian, deputy and independent approver; the identity type and unique identifier; production or non-production environment; business purpose; permissions, roles and trust relationships; credentials and rotation method; data classifications and destinations; upstream and downstream dependencies; creation date, review date and expiry or retirement condition.
For AI agents, also record the deployed agent, the model and version it invokes, authorised tools, permitted actions, execution environment and operational limits. Ownership changes should trigger reassignment and review, not simply a directory update. If no qualified owner accepts accountability by a defined deadline, access should expire or be suspended through an approved exception process.
Turn lifecycle events into automated access governance triggers. Creation should require a documented purpose, named owners, least-privilege permissions and an expiry or review date. Rotate credentials on a defined schedule and immediately after suspected exposure, custodian departure or changes to trust boundaries. New privileges, tools, data destinations or production access should reopen approval; inactivity should prompt validation and then suspension. Ownership changes, application retirement and security incidents should trigger reassessment of dependencies, credentials, permissions and continued need.
Approvals should be time-bound, attributable and proportionate to risk. Privileged changes require independent approval and separation of duties, with emergency access expiring automatically and reviewed afterwards. Where possible, replace long-lived secrets with short-lived, workload-bound credentials, and prevent custodians from granting or extending their own access. Exceptions need an accountable approver, compensating controls and a fixed end date rather than indefinite renewal.
For AI agents, design-time approval is insufficient because intent and context can vary at runtime. Enforce policy at execution: restrict which tools the agent may invoke, the actions each tool permits, approved data sources and destinations, transaction or spending limits, execution frequency and escalation thresholds. Require human approval for sensitive or irreversible actions, and log prompts, tool calls, authorisation decisions and outcomes in a form suitable for investigation and review.
Decommissioning should follow a controlled checklist, not end with deleting an application record. First disable the non-human identity or AI agent and stop scheduled execution. Revoke API keys, passwords, certificates, refresh tokens, sessions and delegated authorisations; then remove roles, group memberships, cloud policies, tool permissions and cross-account trust relationships. Check secrets stores, CI/CD systems, service meshes, SaaS integrations and allowlists for residual access. Before permanent deletion, validate upstream and downstream dependencies with service owners, monitor for failed calls, and use a defined rollback window where operational risk requires it.
Retain evidence showing who authorised retirement, what was disabled or revoked, when each action occurred, which dependencies were tested and whether any exception remains. For AI agents, preserve relevant configuration, model and tool versions, runtime policy, authorisation decisions and action logs according to investigation and retention requirements. Confirm closure only when credentials no longer authenticate, permissions and trust paths are removed, and dependent systems have been updated.
Measure whether the process is working. Track the percentage of identities with accountable owners and deputies, overdue access reviews, dormant identities, credential age, expired exceptions and the proportion of retirements technically verified. Reconcile identity inventories against cloud platforms, directories, secrets managers and application registries to find unmanaged records. Any identity without a current owner, valid purpose or confirmed lifecycle state should enter a time-bound remediation queue, with suspension as the default when accountability cannot be restored.





