Why service accounts are the central NHI problem
Service accounts are everywhere, your batch jobs, your microservices, your integrations all run as one, and they accumulate faster than anyone tracks. They are frequently created with broad permissions for convenience, share credentials across multiple uses, and outlive the projects that created them. Because they often hold far-reaching access with little monitoring, a compromised service account is a direct path to lateral movement.
The main risks
- Overprivilege. Created with more access than the task needs, so a compromise is high-impact.
- No ownership. The creator moves on and no one can say if the account is still needed.
- Static credentials. Long-lived passwords or keys that are rarely rotated.
- Human use. People logging in as a shared service account for interactive work, destroying accountability.
- Persistence. They are often left in place after their workload retires, becoming orphaned access paths.
How to manage service accounts
Apply the lifecycle: discover every service account and attribute an owner, provision new ones with least privilege and vault-issued credentials, monitor their behaviour, rotate or eliminate their secrets, and decommission them when their workload retires. For the hardening checklist and the full programme, see service account governance.
Platform-specific guidance: Kubernetes service account governance, Google Cloud service accounts, AWS roles and Azure managed identities, and queries to list every service account.
Frequently asked questions
What is a service account?
A service account is a non-human identity assigned to an application, service, or automated process so it can authenticate and perform actions without a human. It is tied to a workload rather than a person, and often holds broad, standing access, which is why it is a central focus of NHI management.
Why are service accounts a security risk?
Because they are frequently over-privileged, share static long-lived credentials, often have no clear owner, and are rarely decommissioned. A compromised service account typically has far-reaching access with little monitoring, making it a direct path to lateral movement across an environment.
How should service accounts be managed?
Through the full NHI lifecycle: discover every account and assign a human owner, provision new ones with least privilege and vault-issued credentials, monitor their behaviour for anomalies, rotate or eliminate their secrets, and decommission them when the workload they serve is retired.
Is a service account a privileged identity?
A service account is a common example of a non-human identity. It is privileged when its permissions are elevated, for example administrator rights or access to production data, which is often the case because service accounts are created with broad access for convenience. Treat privileged service accounts as a priority for ownership, least privilege and credential lifetime controls.
Can a service account use multi-factor authentication?
Generally no. A service account authenticates without a person present, so nobody can answer a second-factor prompt. Microsoft's Entra documentation states that workload identities can't perform multifactor authentication. Compensating controls are short-lived credentials, workload identity federation instead of stored keys, network restrictions, least privilege and monitoring of how the account is actually used.
Sources
- OWASP Non-Human Identities Top 10 (2025), owasp.org
- OWASP NHI Top 10 (2025), full risk list, owasp.org
- NIST SP 800-53 Rev. 5, Security and Privacy Controls for Information Systems and Organizations (AC-2, AC-6, IA-5), csrc.nist.gov
- Microsoft, Securing workload identities with Microsoft Entra ID Protection (last updated 6 August 2025), learn.microsoft.com
- ISO/IEC 27001:2022 Annex A (controls 5.15-5.18, 8.2, 8.5, 8.15, 8.16) paywalled standard; cited by clause, not linked
- Palo Alto Networks, 2026 Identity Security Landscape (n=2,930 cybersecurity decision-makers; 109:1; the earlier 82:1 figure is from CyberArk's April 2025 edition, a different sample), paloaltonetworks.com
Where a primary URL is not shown, we have not confirmed the figure against the publisher’s own document and say so on the page rather than linking a secondary source that paraphrases it. Paywalled standards (ISO/IEC, AICPA) are cited by clause and not linked. Corrections welcome: report an error.
Disclosure. This reference is free. No vendor pays for coverage, placement, or favourable treatment. HumanAudit Inc., which publishes this site, sells ISO/IEC 42001 documentation and plans NHI governance documentation packs, including an RFP kit that does not name, rank or recommend any vendor; it builds and sells no NHI scanner and no NHI discovery, monitoring or security tool (see About). Links to its offers appear in the header, in the site footer and in one marked box on guide pages; company profiles carry none. See our methodology, sourcing standards and corrections policy.