Machine identity is the non-human identity assigned to a workload, service, script, container, device, or API client so it can authenticate and authorize actions. Unlike a person’s login, it is usually represented by credentials such as certificates, keys, tokens, or service account secrets. These identities let software prove what it is and what it is allowed to do.
Machine identities matter because modern systems depend on them for automated access, but they are often harder to inventory and secure than user accounts. Attackers target them by stealing API keys, abusing overprivileged service accounts, or hijacking long-lived tokens and certificates. Defenders reduce risk with least privilege, short-lived credentials, strong secret rotation, clear ownership, and continuous monitoring. In zero-trust environments, machine identity is a core control point: if it can be verified, scoped, and revoked quickly, it becomes much harder to turn automation into a breach.


