AI Agent Identities: Why Shared Service Accounts Are a Risk

Sharing one service account across several agents can blur who acted, which permissions were needed and what should be retired. Separate workload identity from credentials and authorization, then connect each agent’s access to an accountable owner, useful execution records and a defined end of life.

Three distinct agent modules have separate identity markers and narrow paths to their resources.

AI agent identities give applications and security teams a way to distinguish software acting on a task from the people who own or use it. If several agents share one broadly privileged service account, that distinction becomes harder to enforce. Naming each agent in a dashboard helps, but the identity presented to the resource must support the separation you intend.

Agent identity is developing at several layers

Microsoft’s October 19, 2026 security announcement argues for identities distinct from an agent’s sponsor, with authority limited to the task. That direction addresses operational accountability: which agent exists, what it may do and when its access should end. It does not mean every deployment has the same platform features or governance model.

There is also new work on public identification. The Agent Identity Document proposal, version 02, published October 31, 2026, describes a hosted public record with lifecycle information and operator assertions. It is an individual Internet-Draft, not an IETF-endorsed standard. A public description is also a different layer from authenticating a workload to a private API or granting it access.

Separate AI agent identities, credentials and permissions

Microsoft’s workload-identity overview describes an identity assigned to software such as an application, service, script or container. The credential is the mechanism used to prove that identity; permissions determine what the resource allows it to do. These ideas are related, but replacing a secret does not necessarily change the principal or reduce its grants.

QuestionRelevant layerExample evidence
Which software actor is this?Workload identity or principalDirectory identity and deployment mapping
How does it authenticate?Credential or identity mechanismIssuer, permitted trust relationship and expiry
What may it do here?Resource authorizationRole, scope and resource-specific policy

A friendly agent name in a prompt is not an authentication mechanism. Likewise, a separate identity with an administrator role is still broadly privileged. Review the actual resource policy alongside the identity record. An architecture diagram showing distinct boxes cannot establish separation if every box ultimately sends the same downstream credential.

Record whether a request uses application authority or delegated user access. Microsoft’s workload overview describes both patterns. If a person initiates a run, preserve that relationship without assuming the software should inherit every permission of that person. A resource-side event may need the workload identity, the initiating user where applicable and the run identifier to explain who requested the work and which authority actually performed it.

Follow one shared account through the resource

Consider a fictional company with a document-indexing agent and a support-notification agent. The indexer needs to read a restricted document collection. The notifier needs to send approved operational messages. Putting both behind the same account can give each access intended for the other, particularly if that account accumulates permissions whenever either workflow needs something new.

The resource’s audit log may then identify the shared account for both operations. Application logs can add context, but investigating which deployment used a credential becomes more dependent on those extra records. Disabling the shared account can also interrupt both workflows, even when only one needs to be stopped. Separate principals can make grants and containment more precise if the whole access path preserves them.

Do not confuse a distinct principal with a requirement to create a new human-style user for every inference call. Choose an accountability boundary appropriate to the service: an agent function, deployment or other controlled workload unit. Correlate individual runs through execution identifiers. The goal is useful separation of authority and evidence, not a directory full of unmanaged objects.

Prefer supported workload authentication over copied secrets

Managed identity and federation can reduce the need to distribute long-lived credentials where the platform and target service support them. Microsoft documents managed identities as service principals that remove developers’ need to manage credentials. That changes credential handling; it does not remove the need to review permissions, deployment access and the resource’s trust configuration.

As a separate ecosystem example, SPIFFE defines workload-identity specifications using short-lived identity documents, or SVIDs, for workload authentication. Its overview notes that implementations can support different parts of the specifications. Adopting a workload-identity framework therefore requires checking the components and integrations in use, rather than assuming every tool accepts the same credential.

Keep authentication and authorization connected but distinct. A valid identity document establishes a basis for recognizing a workload under a trust arrangement. The receiving service still needs a policy for which resources and operations that workload may access. Do not treat successful authentication as evidence that an entire agent task has been approved.

Make ownership survive a team change

An agent needs a technical contact who can operate its identity and an accountable person or team that understands its continuing purpose. Microsoft’s Entra Agent ID administrative model distinguishes technical owners from business sponsors. Those are product-specific relationships, but the underlying operational questions are useful in any environment: who can fix this identity, and who decides it should still exist?

  • Record the agent’s purpose, deployment, environment and resource access beside its principal identifier. Keep development and production relationships explicit.
  • Define how ownership changes when a person leaves or a team hands over a service. An unanswered mailbox is not an effective lifecycle control.
  • Assign a review condition or date tied to the workload’s continuing need. Remove obsolete grants rather than merely confirming that the application still runs.
  • Define who may stop the agent, who may restore it and what evidence is required before access returns.

A parent application, blueprint or shared gateway can be an important dependency. Record its relationship to the agent and identify which grants are inherited or applied elsewhere. A review that inspects only the visible agent object can miss an independently managed connector or credential that still permits downstream access.

Test attribution and retirement through the full path

For the fictional indexer and notifier, start in a disposable environment with dummy resources. Verify that the indexer can read the intended test collection and cannot use the notifier’s operation. Then check the resource-side event, not only the orchestrator’s summary. It should be possible to connect that event to the expected workload, deployment and run without logging secrets.

Retirement needs similar care. Stop new work, remove the relevant grants and credential paths, and follow the provider’s supported procedures for issued tokens and sessions. Do not assume deleting a local configuration file immediately invalidates every credential already accepted elsewhere. Record any remaining validity window or service-specific limitation and verify the intended access denial.

Also account for queued jobs and automatic restarts. A disabled scheduler entry is not enough if another deployment still runs the same workload identity. Maintain a list of the places that can start the agent and the systems that can mint or supply its credentials. Test a normal denied request after retirement rather than attempting a real destructive operation.

Keep the permitted-operation list small enough to review. Include one dummy resource just outside the intended scope in the negative checks, so a successful request to the correct resource does not conceal an overly broad grant. Repeat those checks after a connector, role assignment or deployment relationship changes; identity separation can erode without either agent changing its visible name.

Give each identity an explainable job

Begin with one agent and trace its identity to the resource that enforces access. Document the principal, credential mechanism, grants, ownership and retirement path. Then prove a small allowed action and a small denied action with harmless data. Separate identities are valuable when they produce narrower permissions, clearer evidence and a reliable way to end access.

Stay curious

Follow the signal further.

Explore the topics shaping our digital world or join the conversation.



A clearer inbox

Stay Ahead of the Signal

Get the latest technology, cybersecurity and AI briefings delivered to your inbox.

Newsletter sign-up is not connected yet. Connect a WordPress form or provider to enable subscriptions.