Non-human identity (NHI)

Non-human identity (NHI)

Non-human identity (NHI)

TL;DR

TL;DR

A non-human identity (NHI) is a digital identity used by software instead of a person, such as a service account, API key, OAuth token, or AI agent, to authenticate and act in other systems.

A non-human identity (NHI) is a digital identity used by software instead of a person, such as a service account, API key, OAuth token, or AI agent, to authenticate and act in other systems.

What is a non-human identity (NHI)?

A non-human identity (NHI) is a digital identity that belongs to software instead of a person. Service accounts, API keys, OAuth tokens, certificates, bots, and AI agents are all non-human identities. Each one lets a program authenticate to another system and act with a set of permissions.

The term is also written non-human identities, and overlaps with machine identity and workload identity. NHIs exist because modern software is built from parts that talk to each other. Every integration between a helpdesk, a CRM, and a payment system runs on at least one credential that no person types in.

Key takeaways

  • Definition: an identity used by software to authenticate and act.

  • Examples: service accounts, API keys, OAuth apps, certificates, and AI agents.

  • Why it is risky: NHIs have no password prompts or MFA, often have broad access, and are easy to forget.

  • AI agents raise the stakes: an agent is an NHI that makes its own decisions about how to use its access.

How non-human identities work

An NHI has three parts. A credential proves who it is: a key, a token, a certificate, or a client secret. A set of permissions defines what it can do, usually through roles in a role-based access control model. An owner, at least in theory, is the person or team responsible for it.

When software needs to act, it presents the credential, the target system checks it, and access is granted within the permissions. There is no login screen and no second factor. Whoever holds the secret is treated as the identity, which is why leaked keys are so damaging.

Lifecycle is the weak point. People join and leave through HR processes that trigger account changes. NHIs are created by developers during a project and often outlive the project, the developer, and the vendor contract.

Types of non-human identities, with examples

Type

What it is

Support example

Service account

An account for an application

The helpdesk’s account in the order database

API key

A static secret for an API

A key that lets a chatbot read shipping status

OAuth app or token

Delegated access granted by an admin or user

An AI tool authorized to read and write CRM records

Certificate

A cryptographic identity for a workload

Mutual TLS between a voice platform and a bank API

Bot or RPA identity

An account used by automation

A script that closes stale tickets

AI agent identity

The identity an AI agent acts under

An agent that issues refunds through a payments API

Non-human identity vs human identity vs AI agent identity

Property

Human identity

Traditional NHI

AI agent identity

Authenticates with

Password and MFA

Key, token, or certificate

Key or token, often delegated

Behavior

Varies, limited by working hours

Fixed and predictable

Decides its own steps toward a goal

Lifecycle owner

HR and IT

Often unclear

Often unclear

Main risk

Phishing

Leaked or overprivileged secrets

Misuse of valid access

An AI agent is the unusual case. A service account does the same thing every time. An agent chooses which tool calling action to take, so broad permissions translate directly into a broad set of things it might do.

Why non-human identities matter for customer support

Support platforms sit on top of sensitive systems. An AI support agent that can look up orders, change addresses, and issue refunds holds credentials for the CRM, the commerce platform, and the payment provider. Those NHIs can reach customer data and money, which makes them a target.

There is also a new kind of non-human caller. Customers now send personal AI assistants to contact support on their behalf, and the support team has to decide whether that assistant is authorized to act for the customer. This is covered in the guide to agent-to-agent customer support, in the support intake checklist for personal AI agents, and in this post on personal AI agents in customer support. The A2A protocol is one attempt to standardize how agents identify themselves to each other.

Non-human identity risks

The OWASP Non-Human Identities Top 10 ranks the main risks. The list starts with improper offboarding, where credentials stay active after the service or vendor is gone, and secret leakage, where keys end up in code, logs, or chat. It also covers vulnerable third-party NHIs, overprivileged NHIs, long-lived secrets, and people using NHI credentials to bypass their own access limits.

Unapproved tools make it worse. When a team connects an AI app to a helpdesk without review, it creates an OAuth grant nobody tracks, which is one form of shadow AI.

Non-human identity example

A retailer connects an AI support agent to its commerce platform so the agent can look up orders and issue refunds. During setup an engineer creates an API key with full admin rights to get the integration working quickly. The key is pasted into a shared document and never rotated. A year later the retailer changes vendors, and the key is still active. This one credential shows four risks at once: excessive privilege, a leaked secret, a long-lived secret, and improper offboarding. The safer version is a dedicated identity for the agent, limited to reading orders and refunding up to a set amount, with a short-lived token and an owner who revokes it when the contract ends.

How are non-human identities measured?

Start with inventory coverage: the share of NHIs that are known and recorded. Then track the share with a named owner, the age of each secret, the share of secrets rotated on schedule, and the number of NHIs unused for 90 days.

Privilege gap is the most useful single figure. It compares the permissions an NHI holds with the permissions it used over a period. A large gap means access can be removed without breaking anything.

How AI agents should be governed as non-human identities

Give each agent its own identity. Sharing one admin key across several agents makes it impossible to tell which one acted. Scope permissions to the actions the agent is approved to take, and prefer short-lived tokens over static keys.

Separate what the agent may do alone from what needs approval. A refund under a set limit can run automatically, while a payout change goes to a human in the loop. Every action should be written to an AI audit trail with the agent’s identity attached. Fini lets teams control which actions an agent can take, and its Agent Handshake addresses the inbound case, where a customer’s personal agent contacts support. Buyers can compare AI support agents with granular permission controls and email assistants with fine-grained permissions.

How to manage non-human identities

  1. Build an inventory. List every service account, key, token, and agent with its owner and purpose.

  2. Assign an owner to each one. No owner means it gets reviewed for removal.

  3. Apply least privilege. Remove permissions that were never used.

  4. Rotate and shorten secrets. Replace long-lived keys with short-lived tokens where the system allows it.

  5. Offboard on a trigger. Revoke credentials when a project ends, a vendor is dropped, or an agent is retired.

  6. Monitor behavior. Alert on use from new locations, at unusual volumes, or against new resources.

Common non-human identity mistakes

The most common mistake is granting admin rights to get an integration working and never reducing them. The second is storing secrets in code repositories or shared documents.

With AI agents, teams often reuse an existing service account instead of creating a new identity. That hides the agent’s activity inside another system’s logs and gives it permissions nobody chose for it.

How Fini handles non-human identities

Fini treats its own agent as an identity with limited rights. Only the actions a team enables can be called, API keys are scoped to a workspace with separate read and write permissions, and team members sign in through single sign-on with role-based access. For the inbound case, Agent Handshake covers customers’ personal AI agents, so a request gets the same policy answer whether a person or an assistant sends it. To review the access model with your security team, book a call.

Frequently Asked Questions

What is a non-human identity in simple terms?

A non-human identity is an account or credential used by software instead of a person. Examples are service accounts, API keys, OAuth tokens, and the identities AI agents use. It lets a program log in to another system and act within the permissions it was given.

What are examples of non-human identities?

Common examples are a service account that connects a helpdesk to a database, an API key used by a chatbot, an OAuth token for a third-party app, a certificate that identifies a server, and the identity an AI agent uses to issue refunds or update records.

What does NHI stand for?

In security, NHI stands for non-human identity. The same letters are used in healthcare for national health insurance and national health index, which are unrelated. In an identity or cloud security context, NHI always refers to credentials used by software, bots, and AI agents.

Why are non-human identities a security risk?

They authenticate with secrets and have no multi-factor step, so a leaked key works for anyone who holds it. They are often overprivileged, long-lived, and without a clear owner. Many stay active after the project or vendor they were created for has gone.

Is an AI agent a non-human identity?

Yes. An AI agent authenticates to other systems with keys or tokens, so it is a non-human identity. It differs from a normal service account because it decides which actions to take, which makes tight permissions, approval rules, and logging more important.

How do you secure non-human identities?

Keep a complete inventory, assign an owner to each identity, grant the minimum permissions, use short-lived credentials, rotate secrets, and revoke access when it is no longer needed. Log every action and monitor for unusual use. Give each AI agent its own identity.

Learn More

Learn More

Workforce optimization (WFO)

W

Customer self-service

C

Prompt caching

P

AI sycophancy

A

Computer use agent

C

System prompt

S

Backchanneling

B

Omnichannel customer support

O

Voice biometrics

V

Semantic caching

S

Time to first token (TTFT)

T

Durable execution

D

AI audit trail

A

Conversational AI greeting

C

Agent assist vs AI agent

A

Knowledge base

K

Average handling time (AHT)

A

Telephony

T

Customer acquisition cost (CAC)

C

Business process outsourcing (BPO)

B

AI tokens

A

Human in the loop (HITL)

H

AI grounding vs retrieval-augmented generation (RAG)

A

Short message service (SMS)

S

Call center

C

Data annotation

D

Ticket routing

T

Customer service quality assurance (QA)

C

Live chat

L

Speech Synthesis Markup Language (SSML)

S

Batch inference

B

Barge-in

B

SLA compliance rate

S

Queue management

Q

Prompt versioning

P

Emotion detection

E

Retrieval-augmented generation (RAG)

R

Natural language understanding (NLU)

N

Text classification

T

Call routing

C

Customer churn rate

C

Speech-to-speech

S

Intent recognition

I

Voice of the employee (VoE)

V

Confidence score

C

Resolution-based pricing

R

AI personalization

A

Voice cloning

V

Asynchronous messaging

A

Hallucination

H

ReAct agent pattern

R

Long-term memory

L

Forecast accuracy

F

Customer feedback loop

C

Structured output

S

Outbound voice AI

O

AI guardrails

A

Direct preference optimization (DPO)

D

Prompt chaining

P

SIP transfer

S

Fallback intent

F

Conversation summarization

C

Auto-tagging

A

Cost per contact

C

VoIP jitter

V

Model card

M

Ticket prioritization

T

Sentiment analysis

S

Agent utilization rate

A

Speech-to-intent

S

Prompt engineering

P

Knowledge atlas

K

SOC 2 AI support

S

Prosody

P

Chatbot containment rate

C

Speech synthesis

S

Fine-tuning

F

ISO 42001

I

Intent-based search

I

After-call work (ACW)

A