Identity programmes were built around people: joiners, movers and leavers, single sign-on, MFA, periodic access reviews. Software needs identities too, and creates them constantly. A deployment pipeline needs a cloud role, an integration needs an OAuth app, a microservice needs a service account, a script needs an API key, and an AI agent needs credentials to call the tools it uses. Each of these is a non-human identity. They are created by pipelines, consoles and SDKs rather than by an HR process, they rarely have MFA, and many hold more access than any single person.
NHI is an umbrella term. It overlaps with machine identity, which is often used for certificates and keys bound to workloads and devices, and with workload identity, which describes platform-issued, short-lived credentials for running code.
How it is used in practice
An NHI security programme starts with an inventory: connect to each identity provider, cloud account and platform and list the identities, their credentials, their permissions and, where possible, their owners and last use. It then applies policy: every identity should have an accountable owner, credentials should not outlive their rotation window, unused identities should be retired, and privileged ones should be watched closely. Findings drive remediation and periodic certification, in which owners confirm an identity is still needed.
Common pitfalls
- No owner. The person who created an identity leaves, and nobody can say what depends on it. Ownership is the precondition for every other control.
- Counting credentials as identities. One identity can hold several keys, and one key can be copied to many places.
- Treating unknown as fine. A connector that cannot see last-use data has not shown an identity is active.
- Over-trusting discovery. An inventory covers only what its connectors can read.
- Quarantine that changes nothing. Recording that an identity should not be trusted is not the same as disabling it at its provider.
How TrustIvan relates to it
TrustIvan NHI Security inventories non-human identities through eleven read-only connectors, among them AWS IAM, Microsoft Entra ID, Google Cloud IAM, GitHub, GitLab, Okta, Slack, Snowflake, Kubernetes service accounts, HashiCorp Vault and MCP servers. Every identity records the evidence behind it, an owner with a stated confidence (declared, inferred or unknown), and its lifecycle state; policies then raise findings such as unowned identities, stale identities and overdue rotation. The docs state plainly what this does not do: no connector has yet been validated against a live tenant, quarantine does not disable an identity at its provider, and no connector discovers AI agents. See the NHI Security overview and Limitations.
Related terms
- Service account A service account is an identity created for an application, workload or automation to authenticate as, rather than for a person, and granted permissions through roles or bindings.
- Machine identity A machine identity is the cryptographic credential, such as an X.509 certificate, an SSH key or a signed workload token, that a device, server, container or service uses to prove what it is to other systems.
- Workload identity Workload identity is an identity issued to a running workload, such as a pod, function, VM or CI job, usually by the platform that runs it, and exchanged for short-lived credentials instead of a stored secret.
- Secret sprawl Secret sprawl is the uncontrolled spread of copies of credentials, such as API keys, tokens, passwords and private keys, across source code, configuration files, CI pipelines, container images, chat messages, documents and machines.
- Least privilege The principle of least privilege says that every user, process and machine identity should hold only the permissions it needs to do its job, and only for as long as it needs them.
- AI agent security AI agent security is the set of controls that govern what AI agents, software that uses a model to choose and take actions, can access and do, including their identity, credentials, tool permissions and runtime authorization.
On the platform: NHI Security. All glossary terms