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
- Non-human identity (NHI) A non-human identity (NHI) is any identity that authenticates and acts without a person at the keyboard: a service account, IAM role, API key, OAuth application, CI/CD robot, workload identity or AI agent.
- 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.
- Credential rotation Credential rotation is the practice of replacing a secret, such as an API key, access key, token, password or certificate, with a new one and retiring the old, either on a schedule or in response to exposure.
- 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.
- Image signing (Sigstore and cosign) Container image signing attaches a cryptographic signature to an image's digest so that anyone deploying it can check who published those exact bytes. Sigstore is an open-source project for this, and cosign is its signing tool for containers.
On the platform: Credential security. All glossary terms