Just-in-time (JIT) access
Also called JIT access, JIT privileged access, time-bound access, ephemeral access
Just-in-time (JIT) access is an access model in which elevated permissions are granted only when a user or workload requests them for a specific task, usually after approval, and are removed automatically when a set time window ends.
Just-in-time access replaces permanent administrator rights with short grants issued on demand. An engineer asks for a specific system, says why and for how long, and receives the access once policy and an approver agree; when the window closes, the access is gone without anyone having to remember to revoke it. The result is that privileged rights exist only while someone is using them.
How it works
- Request. The user names the target, the level of access, the duration and a reason or ticket.
- Evaluate. Policy checks who is asking and what for, and may route risky requests to a second approver or require step-up multi-factor authentication.
- Grant. The system adds the user to a role, issues short-lived credentials or brokers a session with an injected credential.
- Expire. At the end of the window the grant is removed and the event is logged.
Microsoft’s Privileged Identity Management documentation defines JIT access as a model in which users receive temporary permissions to perform privileged tasks, so that access is granted only when needed. On AWS, temporary security credentials can last from a few minutes to several hours and are no longer recognised once they expire.
Why it matters
A standing administrator account is useful to an attacker every hour of every day; a JIT grant is useful only during its window. CISA’s Zero Trust Maturity Model places “permanent access with periodic review” at the traditional stage of access management and automated “just-in-time and just-enough access” at the optimal stage. JIT also produces a record of every request, approval and expiry, which supports reviews under controls such as AC-2 and AC-6 in NIST SP 800-53 Rev. 5.
JIT access vs standing access
| Standing access | Just-in-time access | |
|---|---|---|
| When rights exist | Always | Only during an approved window |
| Revocation | Manual, often forgotten | Automatic at expiry |
| Audit trail | Access reviews, periodically | A record per request and approval |
| Exposure if credentials leak | Until someone notices | Until the window ends |
Examples
- “Read-only access to the billing PostgreSQL database for two hours to investigate incident INC-902.”
- A cloud engineer assumes an operator role in one AWS account for 30 minutes to restart a service.
- A third-party vendor receives a browser session to one server for the length of a maintenance slot.
How SWOT supports it
SWOT PAM grants time-bound access to servers and databases: users pick the target, duration and reason or ask the AI assistant in plain English, approvers are notified in Slack, Microsoft Teams or email, and the grant ends on its own. SWOT Cloud PAM brokers approved, time-bound sessions into short-lived STS or OAuth credentials for AWS, Azure and GCP, and a revoked grant stops working within 60 seconds. Read more on just-in-time access and zero standing privileges.
Questions
- How long should a just-in-time access window be?
- As long as the task needs and no longer. Many teams set a default of one to four hours for routine work, with a maximum enforced by policy and the option to extend through a fresh approval. Requests tied to an incident or change ticket make it easier to judge the right length and to review the grant later.
- What happens in an emergency when nobody can approve?
- Most JIT systems offer a break-glass route: a pre-authorised emergency path that grants access immediately but is logged and alerted at high priority, and often needs two people or a post-incident review. Break-glass should be rare, monitored and tested, so that it does not quietly become the normal way in.
- Is JIT access the same as zero standing privileges?
- They are closely linked but not identical. Zero standing privileges is the goal: no account keeps privileged rights by default. JIT access is the mechanism that makes the goal workable, because people can still get the rights they need on request, for a limited time, with approval and a record.
In SWOT
Sources
Related terms
- Zero standing privileges (ZSP)Zero standing privileges (ZSP) is a security model in which no human or machine identity holds privileged rights by default; elevated access is created for a specific task when requested and approved, then removed when the task or time window ends.
- Least privilegeLeast privilege is the security principle that every user, process and system should hold only the access rights it needs to perform its assigned tasks, and nothing more, so that a mistake or compromise affects as little as possible.
- Privileged access management (PAM)Privileged access management (PAM) is the set of controls and tools that decide who may use administrative access to critical systems, for how long and under what conditions, while keeping the credentials protected and every privileged session on record.
- Zero trustZero trust is a security model that grants no implicit trust based on network location or asset ownership, and instead authenticates, authorises and evaluates every request to a resource on its own merits, with least privilege, before and during each session.

