Just in time Access

Granting elevated access only when it is needed and for a limited time, instead of leaving privileges in place permanently. It shrinks the window an attacker can use a privileged account.

Reading Time:

4 min

Just-in-time (JIT) access is an approach in which elevated privileges are granted only when they are needed, for a limited time and for a specific task, and are then removed automatically. Instead of an administrator holding powerful rights all day, every day, the rights exist only while the work is being done.

Why does just-in-time access matter?

Standing privileges are among the most valuable things an attacker can steal. A privileged account that is always powerful is always worth targeting. With JIT, the same account is ordinary most of the time, so a stolen credential is far less useful outside the access window.

How does just-in-time access work?

  1. A person requests elevated access for a specific task and reason.
  2. The request is approved, automatically or by a manager, according to policy.
  3. Access is granted for a set period, often minutes or hours.
  4. The activity during that period is recorded.
  5. Access expires or is revoked, with no manual clean-up.

What is the difference between standing and just-in-time privileges?

Standing privileges are always on until someone removes them, and they tend to accumulate and be forgotten. Just-in-time privileges are requested, time-bound and expire on their own.

What forms can just-in-time access take?

  • Time-bound activation of an eligible role.
  • Temporary group membership that is removed automatically.
  • Short-lived credentials or tokens issued for a task.
  • Session-based access through a broker or vault.
  • Emergency, or break-glass, access with approval and review afterwards.

Which identities can use it?

Administrators, engineers with production access and support staff, and also non-human identities. A workload can receive a short-lived token for a task instead of holding a permanent key.

What are the benefits?

A smaller attack surface, a smaller blast radius, a clear audit trail where every elevation has a reason, and easier access reviews because there are fewer permanent privileges to examine. It is also a practical way to apply least privilege to powerful accounts.

How does just-in-time access relate to least privilege and zero trust?

Least privilege limits how much access an identity has. Just-in-time access adds time, so even that access exists only when needed. Zero trust assumes that no standing trust should be granted by default, and just-in-time access is one way to put that into practice.

What about emergencies?

Emergency, or break-glass, accounts should exist, because outages do not wait for approvals. They need strong protection, an alert whenever they are used and a review afterwards, so that a route meant for emergencies does not become an everyday shortcut.

Does it apply to the cloud?

Yes. Cloud platforms support time-bound activation of roles and short-lived credentials, which fits just-in-time access well. The same principle applies to workloads, which can receive tokens that expire instead of permanent keys.

What are the challenges?

  • Friction, if approvals are slow. The process has to be fast to be used.
  • Emergencies still need a route that works.
  • Clear policy is needed on who can request what.
  • Standing access can creep back in through exceptions.
  • Some applications depend on permanent service accounts.

What does just-in-time access look like in practice?

An engineer needs to fix a production database. Instead of holding administrator rights permanently, they request them, state the ticket number, receive them for two hours and lose them automatically afterwards. If their credentials were stolen the day before, the attacker would have found an ordinary account.

Is just-in-time access enough?

It narrows when privileges exist, but not what is done while they do. An attacker who steals a session during the window, or a legitimate user who misuses the access, acts with full rights. Monitoring behaviour during elevated sessions matters as much as granting them.

How do you introduce it?

Start with the most powerful accounts and the most sensitive systems. Make requests quick, keep a break-glass route, review the standing privileges that remain and monitor elevated sessions.

Sharelock shows which accounts hold standing privileges they rarely use, a natural starting point for just-in-time access, and monitors behaviour in privileged sessions down to individual transactions and queries on critical applications.

‍

Sharelock investigates identity alerts in 31 seconds. Autonomously

See the Autopilot in action, no slides, no pitch.

Get in Touch

Request a demo or get more details of how our product works.

Thank you! Your submission has been received!

Oops! Something went wrong while submitting the form.