Join our Newsletter — 33% off our NHI Course
Home› Guides› Identity in Security: Human, Machine, Workload and Agent…
Guide Identity & Access Management (IAM)

Identity in Security: Human, Machine, Workload and Agent Identities Distinguished

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 27 November 2026 12 min read
On this page

The word "identity" means four different things in a security conversation, and teams that mix them up end up with the wrong owner, the wrong authentication method and the wrong lifecycle for the accounts that matter most. A human employee, a server certificate, a container calling an API and an AI agent acting for a user are all "identities", but they are proven, owned and retired in very different ways. This guide gives newcomers to IAM and cross-functional stakeholders (audit, risk, engineering, procurement) a shared vocabulary for human, machine, workload and agent identities, with examples, a comparison table and the confusions that cause real gaps. It is deliberately foundational: the deeper distinctions are covered in the Machine Identity vs Workload Identity vs NHI guide and the Non-Human Identity (NHI) Guide.

Key takeaways

  • An identity is a subject plus the means to prove it. In practice that is an identifier (username, certificate subject, URI, client ID) bound to one or more credentials or authenticators, and a set of permissions attached to it.
  • Human identity standards stop at people. NIST SP 800-63-4 scopes "person" to natural persons and says it does not explicitly address machine-to-machine authentication, IoT devices or API access on behalf of subjects.
  • Non-human identity is the umbrella term. Machine identities, workload identities and AI agent identities all sit under it; they differ in what is being identified and how it gets its credential.
  • Every identity needs a named human owner. Non-human identities cannot answer an access review, so a person or team must be accountable for each one from creation to retirement.
  • Agents blur the lines. An AI agent can run as its own workload identity, act on behalf of a user through delegated tokens, or wrongly borrow a human's credentials; deciding which is a design choice, not a naming detail.

What identity means in security

In everyday IAM work an identity has three parts. The identifier names the subject uniquely within a system: an email address, an employee number, a certificate subject, a cloud principal ID or a URI such as a SPIFFE ID. The credential or authenticator lets the subject prove it is that identifier: NIST SP 800-63-4 defines an authenticator as a means of demonstrating control or possession of one or more factors in an authentication protocol. The entitlements are what the system lets the subject do once authenticated.

Two related words cause most of the muddle:

  • Account: a record in one system (an Active Directory user object, an AWS IAM role, a database login). One identity often has many accounts. Counting accounts is not counting identities.
  • Principal: whatever a system sees as the caller at run time. A human, a service and an agent can all appear as principals, and logs record the principal, not necessarily the person behind it.

NIST CSF 2.0 captures the scope in a single subcategory, PR.AA-01: identities and credentials for authorised users, services and hardware are managed by the organisation. "Users, services and hardware" is a useful shorthand for the categories below.

CategoryWhat is identifiedWho owns itHow it usually authenticatesLifecycle trigger
HumanA natural person: employee, contractor, partner, customerThe person, with HR or the business sponsor accountable for accessPassword plus MFA, passkeys, smart cards, federated SSOJoiner, mover, leaver events from HR or the customer relationship
Machine (device)A physical or virtual device: laptop, server, phone, IoT sensor, network applianceInfrastructure or endpoint teamDevice certificates, TPM-backed keys, device registration in the directoryDevice enrolment, refresh and decommissioning
WorkloadA piece of running software: service, container, function, CI job, scriptThe application or platform team that runs itX.509 certificates, signed tokens issued by the platform, managed identities, federated tokens; static API keys in legacy setupsDeployment and decommissioning of the software
AI agentSoftware that plans and takes actions with some autonomy, often using tools and APIsThe team that deployed the agent, plus the user it acts for when delegatedIts own workload credential, OAuth tokens delegated by a user, or bothAgent registration, task or session start and end, model or tool changes

Human identities

Human identity is the most mature category. NIST SP 800-63-4, which supersedes SP 800-63-3, describes a subject as a person in one of three roles: applicant (being identity proofed), subscriber (proofed and enrolled) and claimant (making a claim to be authenticated). It splits assurance into three dimensions: identity assurance (IAL, how robustly the person was proofed), authentication assurance (AAL, how robust the authentication and the binding to the authenticator are) and federation assurance (FAL, how robustly identity information is passed from an identity provider to a relying party). See the NIST SP 800-63 Digital Identity Guidelines Guide for the detail.

  • Workforce: employees and contractors, created from HR records, with access granted by role and reviewed periodically.
  • External: partners and suppliers, often federated from their own identity provider, with a sponsor inside your organisation.
  • Customer: consumers of your service, usually self-registered, with privacy and fraud concerns that workforce identity does not have.
  • Privileged: the separate administrator accounts held by some of the above people. They are still human identities, but they need tighter controls; see the Privileged Access Management Guide.

The defining features are that a person can be proofed, can complete MFA, can attest to an access review and leaves through an HR process. None of these hold for the other three categories.

Machine and non-human identities

Non-human identity (NHI) is the umbrella for every identity that is not a person: devices, workloads, service accounts, API keys, OAuth applications, certificates, bots and AI agents. OWASP publishes a dedicated Non-Human Identities Top 10 (2025), whose risks include NHI1 Improper Offboarding, NHI2 Secret Leakage, NHI5 Overprivileged NHI, NHI7 Long-Lived Secrets and NHI10 Human Use of NHI. Those names alone show how NHI risk differs from human identity risk: forgotten accounts, leaked secrets and shared use rather than phishing and weak passwords.

Machine identity is used in two ways, and you should say which you mean:

  • Narrow sense (device and certificate): the identity of a device or host, typically an X.509 certificate or a TPM-protected key. NIST SP 800-53 Rev. 5 has a separate control for this, IA-3 Device Identification and Authentication. See the Machine Identity, PKI and Certificate Lifecycle Guide and, for constrained devices, the IoT Device Identity with TPM and DICE Guide.
  • Broad sense (synonym for NHI): some vendors and analysts use "machine identity" for every non-human identity, including API keys and service accounts. When reading a report or product claim, check which definition is in use before comparing numbers.

Common NHI examples: Windows and Linux service accounts, database logins used by applications, API keys for SaaS platforms, OAuth client applications and their refresh tokens, SSH keys used by automation, code-signing certificates and CI/CD pipeline credentials. Each needs an owner, a purpose and an expiry, which is the core of the NHI Governance Maturity Model.

Workload identities

A workload identity identifies running software rather than the hardware under it. The IETF WIMSE working group architecture draft (draft-ietf-wimse-arch-09, an Informational Internet-Draft dated 17 November 2026, checked 26 November 2026; drafts change) defines a workload as an independently addressable and executable software entity, and describes a workload identity as three parts: a trust domain, a workload identifier (a URI unique within that trust domain) and credentials that carry the identifier. It describes X.509 certificates for TLS and mutual TLS, and Workload Identity Tokens at the application layer, with bearer tokens only as a fallback for legacy systems.

SPIFFE implements the same idea in open source. A SPIFFE ID is a URI of the form spiffe://trust-domain/workload-identifier, proven by an SVID (SPIFFE Verifiable Identity Document) in X.509 or JWT form. The SPIFFE Workload API gives a workload its identity and short-lived, automatically rotated keys without any secret being deployed with the workload. See the SPIFFE and SPIRE Guide.

Cloud platforms offer their own versions. Microsoft Entra, for example, defines a workload identity as an identity assigned to a software workload such as an application, service, script or container, and implements it as applications, service principals and managed identities; a managed identity removes the need for developers to manage credentials. AWS IAM roles, Google Cloud service accounts and Kubernetes service accounts play the equivalent role. See the Cloud Workload Identity Guide.

The key difference from a classic service account is how the credential is obtained. A modern workload identity is attested by the platform it runs on and receives short-lived credentials automatically; a classic service account holds a long-lived password or key that someone created and must remember to rotate.

AI agent identities

An AI agent is software, so at a minimum it is a workload. What makes it a separate category is that it decides what to do next, calls tools and APIs, and often acts for a specific person. NIST's NCCoE published a concept paper on software and AI agent identity and authorisation as an initial public draft on 5 February 2026, with interest areas including identification, authorisation, auditing and non-repudiation of AI agents, and controls against prompt injection. That framing is a useful checklist: can you tell which agent acted, on whose authority, and prove it afterwards?

There are three common patterns, and an agent can combine them:

  1. Agent as its own identity: the agent has a workload or service identity with its own permissions. Clear in logs, but those permissions apply whoever asked the agent to act.
  2. Agent acting on behalf of a user: the user delegates scoped, time-limited access, typically through OAuth, and the token records both the user and the agent. See the OAuth Token Exchange and Delegation Guide.
  3. Agent borrowing human credentials: the agent runs with a person's session, password or personal token. Logs then show the human, not the agent. This is the pattern to avoid, and it mirrors OWASP NHI10 Human Use of NHI in reverse.

For the full treatment of how agent identity differs from other NHIs, see NHI vs AI Agent Identity, AI Agent Identity vs Service Account and the Agentic AI Identity Guide.

How the categories overlap

The categories are not exclusive boxes. A Kubernetes pod is a workload running on a machine; an AI agent is a workload that may carry a user's delegated authority; a privileged administrator is a human whose separate account behaves more like a high-risk NHI. Use the most specific term that describes what is actually authenticating.

Common confusions

ConfusionWhy it mattersBetter framing
"Service account" used for every NHIHides API keys, OAuth apps and certificates from the inventoryService accounts are one NHI type; inventory all credential types
"Machine identity" meaning only certificates, or meaning all NHIsReports and tools count different thingsState the definition in the policy and in any metric
A shared admin or service login treated as a human accountNobody leaves, so it is never offboarded; actions cannot be attributedGive each person their own account; give the automation its own NHI with an owner
An AI agent treated as "just another user"It gets a licence, a mailbox and broad standing access, with no delegation recordRegister the agent as an NHI and use delegated, scoped tokens for user context
Account count reported as identity countOverstates or understates exposureCorrelate accounts to an owning identity or system
MFA expected for workloadsWorkloads cannot complete interactive MFA, so policies get exempted wholesaleUse strong workload authentication instead: certificates, federation, short-lived tokens

Framework mapping

CategoryNIST SP 800-53 Rev. 5NIST CSF 2.0MITRE ATT&CK
HumanIA-2 Identification and Authentication (Organizational Users); AC-2 Account ManagementPR.AA-01, PR.AA-05T1078.003 Local Accounts and T1078.004 Cloud Accounts when credentials are misused
Machine (device)IA-3 Device Identification and AuthenticationPR.AA-01 (hardware)Varies by device
Workload and serviceIA-9 Service Identification and Authentication; IA-5 Authenticator ManagementPR.AA-01 (services)T1528 Steal Application Access Token; T1078.004 Cloud Accounts
AI agentIA-9, AC-6 Least Privilege, AC-2PR.AA-01, PR.AA-05, DE.CM-03T1528 where agent tokens are stolen

Putting the vocabulary to work

  1. Agree definitions first: write the four categories into your identity policy with one example each, and state which meaning of "machine identity" you use.
  2. Tag the inventory: add a category field to every account and credential record, starting with privileged and internet-facing systems.
  3. Assign owners: every non-human and agent identity gets a named human or team owner; orphans go to a review queue rather than being deleted on sight.
  4. Match the lifecycle to the category: HR events for humans, deployment pipelines for workloads, device management for machines, agent registration for agents.
  5. Test with a sample: pick 50 accounts, classify them by hand, and compare with the automated tagging before relying on it. Roll back to manual tagging for any source system where the match rate is poor.

Measures that show it is working: percentage of identities with a category tag; percentage of NHIs and agents with a named owner; count of shared human accounts; percentage of workloads using platform-issued short-lived credentials rather than static secrets; number of agents operating with human credentials (target zero). For the lifecycle automation behind these numbers, see NHI lifecycle automation.

Practitioner checklist

  • Publish one-paragraph definitions of human, machine, workload and agent identity in your IAM policy.
  • Say explicitly whether "machine identity" means devices and certificates only, or all non-human identities.
  • Add a category and an owner field to every identity and credential record.
  • Count identities, not just accounts, and reconcile the two.
  • Replace shared human logins with personal accounts and separately owned NHIs.
  • Prefer platform-issued, short-lived workload credentials over static keys and passwords.
  • Register every AI agent as an identity, and use delegated, scoped tokens when it acts for a user.
  • Check that no agent or automation runs with a person's credentials.
  • Map each category to its NIST SP 800-53 controls (IA-2, IA-3, IA-9) in your control library.

Standards and references

Related NHI Mgmt Group resources: Non-Human Identity (NHI) Guide · Machine Identity vs Workload Identity vs NHI · NHI vs AI Agent Identity · Cloud Workload Identity Guide

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.