---
title: "Non-Human Identity: Why Your Zero Trust Strategy Needs to Cover Bots, APIs, and Service Accounts"
description: Bots, APIs, and service accounts outnumber your users. Learn how to inventory non-human identities and bring them under your Zero Trust access policies.
image: https://blog.openvpn.net/hubfs/cb84c914-0aa3-4917-9600-ee7ce503ce15.png
---

[![OpenVPN Logo](https://cdn.jsdelivr.net/gh/OpenVPN-Inc/website-js-cdn@3.4.9/_/ovpn-logo_C6gku7ol.svg)](https://openvpn.net/)

Products

Solutions

Resources

Partners

[Community](https://openvpn.net/community/)

Pricing

[Sign In](https://myaccount.openvpn.com/signin/product-select)[Get Started for Free](https://myaccount.openvpn.com/signup)[Book a Demo](https://go.openvpn.net/book-a-demo)

[![OpenVPN Logo](https://cdn.jsdelivr.net/gh/OpenVPN-Inc/website-js-cdn@3.4.9/_/ovpn-logo_C6gku7ol.svg)](https://openvpn.net/)

- [Blog](https://blog.openvpn.net)
- [Cybersecurity](https://blog.openvpn.net/tag/cybersecurity)

# Non-Human Identity: Why Your Zero Trust Strategy Needs to Cover Bots, APIs, and Service Accounts

Dec 2, 2026 •  8 min read

![Illustration of a person and a line of bots and devices with ID tags waiting at an access gate](https://blog.openvpn.net/hubfs/cb84c914-0aa3-4917-9600-ee7ce503ce15.png)

Share

- <https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fblog.openvpn.net%2Fnon-human-identity&title=Non-Human%20Identity%3A%20Why%20Your%20Zero%20Trust%20Strategy%20Needs%20to%20Cover%20Bots%2C%20APIs%2C%20and%20Service%20Accounts&summary=Bots%2C+APIs%2C+and+service+accounts+outnumber+your+users.+Learn+how+to+inventory+non-human+identities+and+bring+them+under+your+Zero+Trust+access+policies.&source=>
- <https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fblog.openvpn.net%2Fnon-human-identity>
- <https://twitter.com/intent/tweet?url=https%3A%2F%2Fblog.openvpn.net%2Fnon-human-identity&text=Non-Human+Identity%3A+Why+Your+Zero+Trust+Strategy+Needs+to+Cover+Bots%2C+APIs%2C+and+Service+Accounts>
- <https://blog.openvpn.net/non-human-identity>

Non-Human Identity: Why Your Zero Trust Strategy Needs to Cover Bots, APIs, and Service Accounts

10:11

By OpenVPN Team

## Key takeaways

- Non-human identities include service accounts, API keys and tokens, bots, workloads, devices, and AI agents.
- CyberArk's 2025 Identity Security Landscape found 82 machine identities for every human, and 88% of organizations still define "privileged user" as human only.
- The OWASP Non-Human Identities Top 10 ranks improper offboarding, secret leakage, and over-privileged NHIs among the biggest risks.
- Zero Trust for NHIs means giving every one an owner, its own identity, default-deny network access, and an expiry date.

Most Zero Trust programs start with people: single sign-on, MFA, device checks, and access scoped to each employee's role. That's the right place to start, but it leaves out most of the identities on your network. **A non-human identity (NHI) is any credential that lets software, rather than a person, authenticate and reach a resource: service accounts, API keys, OAuth tokens, bots, CI/CD runners, certificates, and AI agents.** They outnumber human users many times over, they rarely have an owner, and they often hold more access than anyone on staff. If your Zero Trust strategy doesn't cover them, it covers only a fraction of the identities that can reach your systems.

This post explains what non-human identities are, why Zero Trust programs tend to miss them, which risks matter most, and how to bring them under the same access policies as your users.

## What is a non-human identity?

A non-human identity is a digital identity used by software, hardware, or an automated process to authenticate to another system. Where a human identity is tied to a person who logs in, an NHI is tied to a job: a backup script that copies data every night, a monitoring agent that polls servers, an integration that syncs your CRM with billing, or an AI agent that reads tickets and calls internal APIs.

Common types of non-human identities include:

- **Service accounts** in directories, databases, and cloud platforms that run applications and scheduled jobs.
- **API keys, OAuth tokens, and secrets** that let one application call another.
- **Bots and automation:** RPA bots, chatbots, CI/CD runners, and infrastructure-as-code pipelines.
- **Workloads:** virtual machines, containers, and serverless functions that talk to each other.
- **Devices:** IoT sensors, cameras, printers, and OT controllers that connect without a person present.
- **AI agents** that act on a user's or team's behalf with their own credentials.

You'll also see the terms machine identity and workload identity. They overlap heavily. We will cover the certificate and lifecycle side in a later post. This post is about strategy: why NHIs belong in your Zero Trust program and how to get them there.

## Why non-human identities outnumber your users

Every new SaaS integration, cloud service, pipeline, and device creates at least one credential, and usually several. Nobody deletes them when the project ends. CyberArk's [2025 Identity Security Landscape](https://www.businesswire.com/news/home/20250423817886/en/Machine-Identities-Outnumber-Humans-by-More-Than-80-to-1-New-Report-Exposes-the-Exponential-Threats-of-Fragmented-Identity-Security) put the ratio at 82 machine identities for every human, and found that 42% of machine identities have privileged or sensitive access. AI is accelerating the trend: the same report named AI as the biggest creator of new privileged identities.

The numbers vary by survey and by organization. The pattern doesn't. In most environments, non-human identities are the majority, and they're growing faster than headcount.

## Where Zero Trust programs miss non-human identities

Zero Trust says no identity is trusted by default, every request is verified, and every identity gets only the access it needs. In practice, most of the tooling was built around people, so NHIs fall through four gaps:

- **No MFA, no SSO.** A service account can't approve a push notification. Many NHIs authenticate with a static secret that never expires, which makes the secret itself the entire security model.
- **No owner.** When the engineer who created an integration leaves, the integration keeps running. Nobody reviews its access, and nobody notices when it's misused.
- **Too much access.** Automation is often granted broad network access "so it doesn't break." A backup job that can reach every subnet is a perfect foothold for lateral movement.
- **No visibility.** Human logins get reviewed. Machine-to-machine traffic often doesn't, so a compromised token can be used for months.

Recent breaches show the cost. In the [Barracuda ARTEX cloud breach](https://blog.openvpn.net/barracuda-artex-cloud-breach-vendor-key-exposure), a stale third-party vendor key opened the door. In software supply chain attacks, stolen CI secrets let attackers move from a build pipeline into production, as we covered in [The Software Supply Chain Is the New Perimeter](https://blog.openvpn.net/the-software-supply-chain-is-the-new-perimeter-why-developer-environments-are-now-a-primary-attack-surface).

## The OWASP Non-Human Identities Top 10

In 2025, OWASP published the [Non-Human Identities Top 10](https://owasp.org/projects/non-human-identities-top-10), the first community standard for NHI risk. The list is:

1. Improper Offboarding
2. Secret Leakage
3. Vulnerable Third-Party NHI
4. Insecure Authentication
5. Overprivileged NHI
6. Insecure Cloud Deployment Configurations
7. Long-Lived Secrets
8. Environment Isolation
9. NHI Reuse
10. Human Use of NHI

Several of these are access problems as much as secrets problems. An over-privileged NHI (5) is dangerous because of what it can reach. Poor environment isolation (8) means a test credential can touch production. NHI reuse (9) means one leaked key opens several systems. Network access controls won't stop a secret from leaking, but they decide how far a leaked secret can go.

## How to build a non-human identity program in five steps

### 1. Inventory every NHI

Start with the places NHIs live: your directory, your cloud IAM, your secrets manager, your CI/CD platform, your SaaS admin consoles, and your network access platform. For each one, record what it is, what it does, what it can reach, and when it was last used. Expect to find accounts nobody recognizes. Those are the first candidates for removal.

### 2. Assign a human owner

Every NHI should have a named owner who answers for its access. When that person changes roles or leaves, ownership moves, or the identity is retired. This single step addresses improper offboarding, the top risk on the OWASP list.

### 3. Give each workload its own identity

Shared credentials make it impossible to tell which job did what and impossible to revoke one without breaking others. Split them. One identity per workload, per environment, so a staging token can't reach production and every log entry points to a single job.

### 4. Scope network access to the job, and deny the rest

This is where Zero Trust Network Access (ZTNA) does the heavy lifting. Instead of placing automation on a flat network, give each NHI a path to only the applications or services it needs. In [CloudConnexa](https://openvpn.net/cloud-vpn/), that means switching to Custom topology, where traffic is denied by default, and creating [Access Groups](https://openvpn.net/cloud-docs/owner/access/access---groups/about-access-groups/) that connect a specific workload to a specific destination. If you self-host with [Access Server](https://openvpn.net/access-server/), create a dedicated user per workload and apply [access control rules](https://openvpn.net/access-server/features/access-control/) per user or group.

A rule of thumb: scope by application or domain, not by subnet. We explain why in [Least Privilege by Domain, Not Subnet](https://blog.openvpn.net/least-privilege-by-domain-not-subnet).

### 5. Set expiry and watch the traffic

Long-lived secrets are risk number seven for a reason. Rotate credentials on a schedule, revoke them when a workload is retired, and, for sensitive tasks, grant access only for the duration of the job. Our post on [just-in-time access](https://blog.openvpn.net/keys-that-expire-how-just-in-time-access-stops-a-rogue-ai-agent) walks through that pattern. Then stream connection and access logs to your SIEM so unusual NHI behavior gets noticed. CloudConnexa's [Access Visibility](https://openvpn.net/cloud-vpn/features/access-visibility/) and [Log Streaming](https://openvpn.net/cloud-vpn/features/logs-audit-streaming/) show which identity reached which destination, and which attempts were blocked.

## What about AI agents?

AI agents are the fastest-growing category of non-human identity, and the riskiest, because they make decisions. An agent can be manipulated through prompt injection into using its access in ways nobody intended. Everything above applies, with less room for error: its own identity, no access by default, the narrowest possible scope, and access that expires. For a step-by-step setup, see [How to Give AI Agents Least-Privilege Access](https://blog.openvpn.net/ai-agent-least-privilege) and [Rogue AI Agents: How to Protect Your Company's Assets With Zero Trust](https://blog.openvpn.net/rogue-ai-agents).

## What network access controls do and don't cover

ZTNA controls where an identity can connect. It doesn't manage secrets, scan code for leaked keys, or decide what an API call is allowed to do once it arrives. A complete NHI program pairs network access with a secrets manager, cloud IAM policy, and application-level authorization. The network layer is the one that limits the blast radius when the others fail.

## Frequently asked questions

### What is a non-human identity in cybersecurity?

A non-human identity is a credential used by software, a device, or an automated process, rather than a person, to authenticate and access resources. Examples include service accounts, API keys, OAuth tokens, certificates, bots, and AI agents.

### Why are non-human identities important?

They usually outnumber human users, often hold privileged access, and are rarely reviewed. That makes them an attractive target: one leaked API key or stale service account can give an attacker persistent access without triggering MFA or login alerts.

### How do you manage privileged access for non-human identities?

Give each NHI an owner and its own identity, grant only the access its job needs, deny everything else by default, rotate or expire its credentials, and log what it reaches. For the most sensitive tasks, grant access just in time and remove it when the task ends.

### Is a non-human identity the same as a machine identity?

The terms are often used interchangeably. Machine identity is sometimes used more narrowly for certificates and keys that identify servers, workloads, and devices, while non-human identity covers every software credential, including API tokens and AI agents.

### Can Zero Trust Network Access secure non-human identities?

ZTNA secures the network side: it ensures each NHI can reach only approved destinations, and logs every attempt. It works best alongside secrets management and application-level controls.

## Bring every identity under Zero Trust

Give bots, APIs, service accounts, and AI agents their own identities and default-deny access with CloudConnexa.

[Try CloudConnexa Free](https://myaccount.openvpn.com/signup?product=CVPN)

## Related reading

- [Zero Trust IAM: Identity and Access Management](https://blog.openvpn.net/zero-trust-iam-identity-access-management)
- [What Is Identity Segmentation for Cybersecurity?](https://blog.openvpn.net/identity-segmentation)

## Related posts from OpenVPN

### Subscribe for Blog Updates

Access Server[Access Server Page](https://openvpn.net/access-server/)[Features](https://openvpn.net/access-server/features/)[Plugins](https://openvpn.net/as-docs/plugins/)[Release Notes](https://openvpn.net/as-docs/release-notes/)[Documentation](https://openvpn.net/as-docs/v3/)

CloudConnexa®[CloudConnexa Page](https://openvpn.net/cloud-vpn/)[Features](https://openvpn.net/cloud-vpn/features/)[Cyber Shield](https://openvpn.net/cloud-vpn/cyber-shield/)[Quick Start Guide](https://openvpn.net/cloud-docs/owner/get-started/start-using-cloudconnexa/)[Documentation](https://openvpn.net/cloud-docs/)

Company[About Us](https://openvpn.net/about/)[Careers](https://careers.openvpn.net/)[Compliance](https://openvpn.net/openvpn-compliance/)[Contact](https://openvpn.net/contact/)[Merch](https://www.hellotux.com/openvpn)[Trust Center](https://trustcenter.openvpn.com/)[Disclosure Policy](https://openvpn.net/vulnerability-disclosure-policy/)

Resources[Support Center](https://support.openvpn.com/hc/en-us)[Get Started](https://openvpn.net/get-started/)[OpenVPN Connect Documentation](https://openvpn.net/connect-docs/)[OpenVPN Referral Program](https://openvpn.net/customer-referral-program/)[Compare OpenVPN](https://openvpn.net/alternatives/)[Subnet Calculator Tool](https://openvpn.net/subnet-calculator/)[OpenVPN vs WireGuard](https://openvpn.net/openvpn-vs-wireguard/)

Use Cases[Secure Remote Access](https://openvpn.net/use-cases/secure-remote-access/)[Secure IoT Communications](https://openvpn.net/use-cases/iot/)[Protect Access to SaaS Apps](https://openvpn.net/use-cases/saas-and-cloud-protection/)[Site-to-Site VPN](https://openvpn.net/use-cases/site-to-site-vpn/)[Enforce Zero Trust Access](https://openvpn.net/use-cases/zero-trust-network-access/)[Secure DNS](https://openvpn.net/use-cases/dns-security-and-content-filtering/)[Restricted Internet Access](https://openvpn.net/use-cases/restricted-internet-access/)

![OpenVPN Logo](https://cdn.jsdelivr.net/gh/OpenVPN-Inc/website-js-cdn@3.4.9/_/ovpn-logo_C6gku7ol.svg)[Service Status](https://status.openvpn.com/)

[![LinkedIn](https://cdn.jsdelivr.net/gh/OpenVPN-Inc/website-js-cdn@3.4.9/_/linkedin_BNLi1fJf.svg)](https://www.linkedin.com/company/openvpn/)[![X](https://cdn.jsdelivr.net/gh/OpenVPN-Inc/website-js-cdn@3.4.9/_/x_DN6DRW24.svg)](https://x.com/OpenVPN)[![YouTube](https://cdn.jsdelivr.net/gh/OpenVPN-Inc/website-js-cdn@3.4.9/_/youtube_mDXH_s5P.svg)](https://www.youtube.com/@openvpn)[![Github](https://cdn.jsdelivr.net/gh/OpenVPN-Inc/website-js-cdn@3.4.9/_/github_UNYLu-3K.svg)](https://github.com/openvpn)[![AWS](https://cdn.jsdelivr.net/gh/OpenVPN-Inc/website-js-cdn@3.4.9/_/aws_D24l5gDK.svg)](https://aws.amazon.com/marketplace/pp/prodview-f5qcwyw2gy256)[![Google Cloud](https://cdn.jsdelivr.net/gh/OpenVPN-Inc/website-js-cdn@3.4.9/_/gcloud_Bn4jKF2a.svg)](https://console.cloud.google.com/marketplace/details/openvpn-access-server-200800/openvpn-access-server)[![Azure](https://cdn.jsdelivr.net/gh/OpenVPN-Inc/website-js-cdn@3.4.9/_/azure_BMOCLX2o.svg)](https://azuremarketplace.microsoft.com/en-us/marketplace/apps/openvpn.openvpn-as-saas?tab=Overview)[![IBM Cloud](https://cdn.jsdelivr.net/gh/OpenVPN-Inc/website-js-cdn@3.4.9/_/ibm-cloud_Cd-7_C6_.svg)](https://cloud.ibm.com/catalog/content/openvpn-access-server-57d2386d-4363-41e9-805b-8765af6713f3-global)

![SOC 2 Type 2](https://cdn.jsdelivr.net/gh/OpenVPN-Inc/website-js-cdn@3.4.9/_/soc_DldAmm04.svg)![ISO/IEC 27001:2022](https://cdn.jsdelivr.net/gh/OpenVPN-Inc/website-js-cdn@3.4.9/_/iso_CR7EkXR1.svg)![HIPAA Compliant](https://cdn.jsdelivr.net/gh/OpenVPN-Inc/website-js-cdn@3.4.9/_/hipaa_BH0-m1m0.svg)![GDPR Compliant](https://cdn.jsdelivr.net/gh/OpenVPN-Inc/website-js-cdn@3.4.9/_/gdpr_8Tk7BTw1.svg)

---

[Privacy Policy](https://openvpn.net/privacy-policy/)[Legal](https://openvpn.net/legal/)

Your Privacy Settings

© Copyright 2026 OpenVPN | OpenVPN is a registered trademark of OpenVPN, Inc. | CloudConnexa is a registered trademark of OpenVPN, Inc.

```json
{
  "@context" : "https://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "OpenVPN Team",
    "url" : "https://blog.openvpn.net/author/openvpn-marketing"
  },
  "dateModified" : "2026-12-02T21:52:04.913Z",
  "datePublished" : "2026-12-02T21:52:04.000Z",
  "headline" : "Non-Human Identity: Why Your Zero Trust Strategy Needs to Cover Bots, APIs, and Service Accounts",
  "image" : [ "https://blog.openvpn.net/hubfs/cb84c914-0aa3-4917-9600-ee7ce503ce15.png" ],
  "mainEntityOfPage" : {
    "@id" : "https://blog.openvpn.net/non-human-identity",
    "@type" : "WebPage"
  },
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "url" : "https://blog.openvpn.net/hubfs/Dark=True%20Medium.png"
    },
    "name" : "OpenVPN"
  }
}
```