1. [Home](https://quorumauth.com/) /
2. [Learn](https://quorumauth.com/learn/) /
3. What is a non-human identity?

Learn · QuorumAuth

# What is a non-human identity?

> A non-human identity (NHI) is an identity software uses to act without a person: service accounts, workloads, API keys, bots. Examples, risks and controls.

A non-human identity (NHI) is any identity that software uses to authenticate and act, such as a service account, a workload, an API key or a bot, rather than a person signing in.

Updated November 14, 2026

Not everyone moving around a building is a person: there are delivery robots, cleaning machines and doors that open on a timer. Each still needs its own badge, but a robot cannot type a password or press a fingerprint. Non-human identities are those badges for software, and the safest ones belong to one machine, last a short time, and stop working as soon as they are cancelled.

On this page

1. Non-human identity examples and types
2. Non-human identity vs workload identity
3. Why NHIs are hard to govern
4. How to secure non-human identities
5. Common pitfalls
6. How QuorumAuth handles non-human identities

One nightly job, before and after

Before

- Reads an API key from an environment variable
- The key has admin rights
- Created two years ago
- Shared with a dashboard

After

- Runs as its own workload identity
- Gets a token scoped to reports:read
- Token expires in fifteen minutes, renewed while running
- The dashboard has its own identity

In short Nothing is copied into configuration, and logs can name which job acted.

Before: a nightly export job reads an API key from an environment variable; the key has admin rights, was created two years ago, and is also used by a dashboard. After: the job runs as its own workload identity, proves it at start-up, receives a token scoped to reports:read that expires in fifteen minutes and renews while it runs, and the dashboard has its own identity.

Give each job its own identity and a short, narrow token, and nothing secret needs copying into configuration.

Sign-in, MFA and access reviews are designed around people: employees, customers, partners. Yet every microservice, scheduled job, deployment pipeline, monitoring agent, and integration holds a credential of some kind. These are **non-human identities**, often shortened to NHI, and because nobody signs in with them by hand, misuse of one can go unnoticed for a long time.

## Non-human identity examples and types

| Type | Example | Usual credential | Typical weakness |
| --- | --- | --- | --- |
| Service account | `billing-exporter` in your identity provider | API key, password, or key pair | Long-lived secret, shared by several jobs |
| Workload identity | A pod named `spiffe://example.org/payments/api` | Short-lived certificate or JWT | Coarse registrations |
| OAuth client | A backend calling a partner API | Client secret or signed client assertion | Secret checked into code |
| CI/CD credential | A pipeline that deploys to production | Token stored in the CI system | Broad deploy rights, rarely rotated |
| Bot or agent | An automation that files tickets or calls APIs | Personal token borrowed from a person | Acts as a person, with all their rights |

The distinction from human identity matters because the controls differ. A person can answer a [passkey](https://quorumauth.com/learn/what-is-a-passkey/) prompt. A cron job cannot. Non-human identities have to prove themselves with something the platform can verify automatically. [How machines authenticate to each other](https://quorumauth.com/learn/what-is-machine-to-machine-authentication/) compares the methods they use.

## Non-human identity vs workload identity

The two terms are often used together, but they are not the same thing. Non-human identity is the whole category: anything that authenticates without a person, including a static API key pasted into a script. Workload identity is one kind of NHI, and the strongest: an identity the platform issues to a running workload after checking facts about where it runs.

|  | Non-human identity | [Workload identity](https://quorumauth.com/learn/what-is-workload-identity/) |
| --- | --- | --- |
| Covers | Every software identity: service accounts, API keys, OAuth clients, CI/CD credentials, bots | Running workloads, such as pods, functions and virtual machines |
| Usual credential | Anything, often a long-lived secret | A short-lived certificate or JWT |
| How it is proven | Whatever secret the software holds | Attestation: what the platform can verify about the workload |
| Standard | None as a category | For example [SPIFFE](https://quorumauth.com/learn/what-is-spiffe/) |

Moving each NHI toward workload identity, wherever the platform allows it, is the most direct way to stop storing secrets in configuration.

## Why NHIs are hard to govern

- **Volume.** Teams create service accounts faster than anyone reviews them.
- **No owner.** The engineer who created an account moves on; the account stays.
- **Static secrets.** API keys and passwords last until someone rotates them, which often means never.
- **Over-permission.** It is easier to grant an admin role once than to work out the minimum a job needs.
- **Invisible use.** When five services share one key, logs cannot say which one acted.

## How to secure non-human identities

A sound programme moves each NHI toward four properties.

1. **Inventory and ownership.** Every account has a named owner and a reason to exist. Unused accounts are revoked.
2. **Secretless or key-bound authentication.** Prefer [workload identity](https://quorumauth.com/learn/what-is-workload-identity/) issued by attestation. Where a credential must exist, prefer a key pair the workload generates over a shared secret, and authenticate with a signed [JWT client assertion](https://quorumauth.com/learn/what-is-jwt-client-assertion/).
3. **Short-lived, scoped tokens.** The long-lived thing, if any, is only used to obtain a token that lasts minutes and carries just the scopes needed.
4. **Fast revocation.** Revoking an account, rotating its key, or removing its role should end what it already holds, not just stop new sign-ins.

Applied to delegation, the fourth property means [a compromise is contained to one grant](https://quorumauth.com/security/): you revoke that delegation without touching unrelated authority.

For automation acting on behalf of a person, use [delegated authorization](https://quorumauth.com/learn/what-is-delegated-authorization/): the token should name the person as subject and the automation as actor, with scopes narrowed to the task. [Token exchange](https://quorumauth.com/learn/what-is-oauth-token-exchange/) is the standard way to obtain one.

### A before-and-after example

Before: a nightly export job reads `EXPORT_API_KEY` from an environment variable. The key has admin rights, was created two years ago, and is also used by a dashboard.

After: the job runs as its own workload identity. At start-up it proves that identity, receives a token scoped to `reports:read` that expires in fifteen minutes, and renews it while it runs. Nothing is copied into configuration, and the dashboard has its own identity.

## Common pitfalls

- **Inventory without action.** Listing every service account is useful only if stale ones get revoked.
- **Rotation that does not revoke.** Issuing a new key while the old one keeps working doubles the attack surface.
- **Personal tokens in automation.** A bot using a person’s personal token inherits everything that person can do and confuses the audit trail.
- **Revocation that waits for expiry.** If revoking an account leaves its issued tokens valid for hours, revocation is a suggestion.

## How QuorumAuth handles non-human identities

QuorumAuth treats service accounts and workloads as first-class principals. In its tested behaviour:

- Administrators create, list, and revoke service accounts per organization. Listings never expose secrets, and another organization’s accounts are out of reach.
- A service account can register a public key its workload generated, and sign in with a fresh assertion signed by that key. What it receives is bounded by its role in its own organization, not by what the assertion asks for. A spent assertion cannot be used again, and an unregistered key is refused.
- On the enterprise tier, a service account can instead enroll an external OIDC identity, such as a Kubernetes cluster’s issuer and a workload’s subject, and hold no key: its workload signs in with a token from that issuer, and each token works once.
- API keys are returned once at creation. Rotating a key revokes the previous credential.
- Revoking a service account, replacing its key, or unbinding its role ends what it already earned, including the sessions it signed in to.
- Workloads on Kubernetes get identities by attestation of their projected service account token; a token stolen from another pod is refused.
- When a service acts on behalf of a caller, the delegated token stays bound to one audience and cannot gain scope the subject does not hold. A token nobody delegated verifies with no actor named.

Together, these let you [replace long-lived API keys with credentials you scope, rotate and revoke](https://quorumauth.com/solutions/machine-to-machine-authentication-platform/). For the step-by-step version, see [running service accounts without a stored API key](https://quorumauth.com/guides/service-account-without-api-key/) and [revoking a token before it expires](https://quorumauth.com/guides/revoke-jwt-before-expiry/).

## Frequently asked questions

What counts as a non-human identity?

Service accounts, workload identities, API keys, OAuth clients, CI/CD credentials, bots, and automated agents. Anything that authenticates without a person completing a sign-in.

Why are non-human identities a security risk?

They can be created faster than anyone reviews them, hold broad permissions, use long-lived secrets, and have no owner who notices when they are misused.

Is an AI agent a non-human identity?

When it calls systems with its own credential, yes. When it acts on behalf of a person, it should carry a delegated token that names both the person and the agent.

Can multi-factor authentication (MFA) protect a service account?

Not in the human sense. The equivalent controls are key-bound credentials, short lifetimes, attestation, and narrow scopes.

## Related reading

[Learn QuorumAuth What is workload identity?Workload identity lets software prove who it is from where and how it runs, so services stop sharing static API keys and passwords.Read](https://quorumauth.com/learn/what-is-workload-identity/) [Learn QuorumAuth What is machine-to-machine authentication?Machine-to-machine authentication lets services prove who they are to each other. Compare API keys, client credentials, JWT assertions and mutual TLS (mTLS).Read](https://quorumauth.com/learn/what-is-machine-to-machine-authentication/) [Learn QuorumAuth What is a JWT client assertion?A client assertion is a signed JWT an OAuth client sends instead of a client secret. How RFC 7523 works, the client\_assertion\_type value, and what to check.Read](https://quorumauth.com/learn/what-is-jwt-client-assertion/) [Learn QuorumAuth What is SPIFFE?SPIFFE gives every workload a verifiable identity, so services authenticate each other with short-lived certificates instead of shared secrets.Read](https://quorumauth.com/learn/what-is-spiffe/) [Learn QuorumAuth What is delegated authorization?Delegated authorization lets one party act on behalf of another with fewer rights. How it differs from impersonation and how scope, audience and depth limit it.Read](https://quorumauth.com/learn/what-is-delegated-authorization/) [Learn QuorumAuth What is OAuth token exchange?OAuth 2.0 token exchange (RFC 8693) trades one token for another with a new audience or narrower scope. Delegation, impersonation, and examples.Read](https://quorumauth.com/learn/what-is-oauth-token-exchange/) [Guides QuorumAuth Run service accounts without a stored API key Stop storing API keys for CI jobs and services. Exchange a token your OIDC issuer already mints, or sign one-time assertions with a key that never leaves.Read](https://quorumauth.com/guides/service-account-without-api-key/)

## Talk to sales about QuorumAuth.

QuorumAuth is sold through our sales team. The Build page shows the drop-in sign-in on your origin and how to reach sales about your stack.

[Go to Build and contact sales →](https://quorumauth.com/onboarding/)
