Subscribe to the Non-Human & AI Identity Journal

Should teams use JIT access to reduce the impact of leaked passwords?

Yes, when the account would otherwise carry persistent elevation. JIT reduces the amount of time a stolen credential can be used for high-risk actions, which shrinks blast radius. It works best when paired with least privilege, strong logging, and rapid revocation of unnecessary standing access.

Why This Matters for Security Teams

JIT access is one of the few practical ways to shrink the damage from leaked passwords when an account would otherwise hold persistent elevation. The core issue is not the leak alone, but how long an attacker can reuse that password to reach privileged systems before detection and revocation. NHI Mgmt Group data shows that 79% of organisations have experienced secrets leaks, and 77% of those incidents caused tangible damage, which is why standing privilege is so dangerous.

This is especially relevant for non-human identities and agentic workloads, where credentials are often embedded in automation and reused at machine speed. Guidance from the OWASP Non-Human Identity Top 10 and the Ultimate Guide to NHIs both point to the same operational problem: long-lived access turns a single secret leak into a repeatable breach path. In practice, many security teams encounter the true cost of leaked passwords only after lateral movement or privilege escalation has already begun, rather than through intentional testing.

How It Works in Practice

JIT access reduces exposure by issuing privileged access only when a task is approved, needed, and time-bounded. For human admins, that may mean approval-based elevation for a maintenance window. For NHIs and AI agents, the model is stronger when access is tied to workload identity and task context, not a reusable password. The emerging pattern is to replace static credentials with short-lived tokens, ephemeral secrets, and automated revocation after the task completes.

That approach aligns with current Zero Trust thinking and with NHI governance in the Ultimate Guide to NHIs. It also fits the operational direction described in the OWASP Non-Human Identity Top 10, where standing access and secret sprawl are recurring root causes. A practical implementation usually includes:

  • Per-request or per-task approval for elevated access, with a strict TTL.
  • Short-lived credentials or tokens instead of reusable passwords.
  • Automatic revocation when the job finishes, times out, or changes scope.
  • Central logging of who or what requested access, why it was granted, and what was done.
  • Least privilege at the base role, so JIT only grants a narrow delta.

This works best when the privileged action is discrete and the approval path is automated. These controls tend to break down when legacy systems require shared admin accounts, manual break-glass procedures, or long-running jobs that cannot tolerate short credential lifetimes.

Common Variations and Edge Cases

Tighter JIT access often increases operational friction, requiring organisations to balance faster incident containment against workflow latency and approval overhead. That tradeoff is real, especially where engineering teams need repeated administrative actions or where service availability cannot wait for human approval.

There is no universal standard for this yet, but current guidance suggests distinguishing between human admin access, service account access, and autonomous agent access. Human elevation can often use PAM-style JIT flows. NHIs and agents usually need workload identity, not passwords, because a leaked password can be reused outside the intended context. For those cases, short-lived OIDC tokens, SPIFFE-style identities, or policy-driven access are more defensible than a shared secret. The Guide to the Secret Sprawl Challenge is a useful reminder that reducing password lifespan does not fix a wider secrets sprawl problem.

JIT also does not eliminate blast radius if the underlying account is over-privileged, if logging is incomplete, or if revocation is delayed. The best use case is high-risk access that is rare, auditable, and easy to expire. In environments with hard real-time dependencies, multi-region failover, or brittle legacy authentication, teams often need a hybrid model rather than pure JIT.

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, OWASP Agentic AI Top 10 and CSA MAESTRO define the specific risk controls and attack patterns relevant to this topic.

Framework Control / Reference Relevance
OWASP Non-Human Identity Top 10 NHI-03 Addresses standing credentials and weak rotation that JIT is meant to reduce.
OWASP Agentic AI Top 10 A-04 JIT is critical for agents because autonomous tool use needs runtime-scoped access.
CSA MAESTRO IAM-02 Covers workload identity and least privilege for machine and agent identities.

Use workload identity plus just-in-time elevation instead of reusable passwords for privileged operations.