Subscribe to the Non-Human & AI Identity Journal

What do organisations get wrong about MFA for service accounts and automation?

They often apply human login assumptions to identities that do not behave like people. Service accounts usually need lifecycle controls, secret rotation, scoped permissions, and monitoring, not interactive MFA prompts. The right question is whether the non-human identity should exist, what it can reach, and how quickly it is revoked when its purpose ends.

Why This Matters for Security Teams

Applying MFA to service account is often a category error. MFA is designed to prove a person’s interactive presence at login, while service accounts exist to run jobs, call APIs, and move data without human intervention. For these identities, the real risks are overbroad scope, long-lived secrets, weak revocation, and poor visibility, not whether someone can tap a push notification. NHI Management Group’s Ultimate Guide to NHIs — What are Non-Human Identities notes that only 5.7% of organisations have full visibility into their service accounts, which means many teams are trying to secure identities they cannot even fully inventory. The result is control theatre: strong human access controls applied to machine identities that need lifecycle governance instead. Current guidance aligns better with NIST Cybersecurity Framework 2.0, which emphasizes identity, access, and continuous monitoring rather than one-size-fits-all authentication rituals. In practice, many security teams discover service-account misuse only after a token has been reused, an integration has been compromised, or a migration has already expanded the blast radius.

How It Works in Practice

The practical model starts by separating human authentication from workload identity. Service accounts should authenticate as workloads, not as people, using cryptographic identity, scoped tokens, and short-lived credentials where possible. That means treating the question as “what is this automation allowed to do, for how long, and under what conditions?” rather than “can it complete MFA?” For many environments, the right pattern is just-in-time issuance, automatic expiration, and revocation tied to task completion. Controls such as 52 NHI Breaches Analysis are useful because they show how compromised non-human identities often become persistence mechanisms rather than simple login events.

Operationally, that usually means:

  • Replacing embedded or shared secrets with short-lived tokens, certificates, or workload identity assertions.
  • Limiting permissions to a specific system, pipeline, or API path instead of a broad role bundle.
  • Rotating secrets automatically and revoking them immediately when the job, deployment, or integration ends.
  • Monitoring usage patterns for unusual fan-out, unexpected destinations, or access outside the known automation window.

This aligns with identity-first guidance in CISA Zero Trust Maturity Model and with the least-privilege direction in NIST Cybersecurity Framework 2.0. The practical test is simple: if the identity needs human MFA to operate, it is probably the wrong design for that workflow. These controls tend to break down in legacy batch systems, hard-coded CI/CD jobs, and vendor integrations that only support static shared credentials because the platform cannot natively issue or validate ephemeral workload identity.

Common Variations and Edge Cases

Tighter controls often increase operational overhead, so organisations need to balance security gains against pipeline fragility and support burden. There is no universal standard for this yet, especially where older schedulers, ERP connectors, or third-party SaaS tools cannot consume ephemeral credentials. In those cases, teams sometimes keep a service account but compensate with narrower scope, aggressive rotation, strong vaulting, and alerting on every privileged use. That is still better than pretending interactive MFA solves the problem.

Some environments also mix human and machine access in the same account, which creates audit ambiguity and undermines revocation. Best practice is evolving toward separation of duties: humans use their own identity and MFA, while automation uses workload identity with machine-appropriate controls. NHI Management Group’s Ultimate Guide to NHIs — What are Non-Human Identities is especially relevant here because it frames lifecycle management, rotation, and offboarding as core controls, not optional hygiene. The exception is emergency access, where a service account may need a temporary human-backed break-glass path; even then, that access should be time-bound, logged, and removed after use. The real mistake is not the lack of MFA itself, but failing to define a machine identity’s purpose, expiry, and revocation path.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Non-Human Identity Top 10 and CSA MAESTRO address the attack and risk surface, while NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
OWASP Non-Human Identity Top 10 NHI-03 Service accounts need rotation and revocation, not human MFA prompts.
NIST CSF 2.0 PR.AC-4 Least-privilege access is the core control for service accounts.
CSA MAESTRO IAM Agentic and workload identities require lifecycle-aware access control.

Use NHI-03 to enforce short-lived secrets, rotation, and rapid deprovisioning for automation identities.