Glossary · Non-human identity

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.

People prove who they are with passwords, passkeys and MFA. Machines prove it with keys. A web server presents a TLS certificate; two services authenticate each other with mutual TLS; an administrator's automation logs in with an SSH key; a Kubernetes pod presents a signed token from its cluster; a build system signs an artifact with a key so consumers can check where it came from. Each of these is a machine identity. In practice the term is used two ways: narrowly, for certificates and keys bound to a host or workload, and loosely, as a synonym for non-human identity in general.

How it is used in practice

Organizations manage machine identities to keep services talking and to keep impostors out. That means knowing which certificates exist, who issued them, where they are deployed and when they expire; issuing them from a controlled authority; keeping private keys in hardware or a secrets manager; and replacing them before expiry or immediately after compromise. Short-lived, automatically issued identities, such as workload identity tokens or certificates from an automated certificate authority, reduce how long a stolen key is useful.

Common pitfalls

  • Expiry surprises. An unrenewed certificate breaks the service that depends on it, often at the worst moment.
  • No inventory. Certificates issued by individual teams, cloud services and appliances are scattered, and nobody can list them all.
  • Shared keys. One SSH key or client certificate used by several systems cannot be revoked without breaking all of them, and its use cannot be attributed.
  • Private keys in files. Keys copied into repositories, images or tickets become secret sprawl.
  • Authentication mistaken for authorization. mTLS proves which workload is calling; it does not decide what that workload may do.

How TrustIvan relates to it

TrustIvan NHI Security records credentials separately from the identities that hold them, so one identity can carry several keys and each key has its own state, expiry and evidence. Of the eleven connectors, six report credentials, including AWS access keys, Microsoft Entra ID client secrets and certificates, Google Cloud service-account keys and Snowflake key fingerprints. Policies raise findings such as credential_expiring and credential_rotation_overdue, and no route returns a secret's value to anyone. On the AppSec side, secret scanning recognizes PEM private-key headers committed to repositories without reading the key body. See NHI Security concepts.

Related terms

On the platform: Credential security. All glossary terms

See TrustIvan on your own estate.

Book thirty minutes with an engineer and bring an image, a repository or a cloud account, or start free on the hosted service.