IAM interview questions · Governance and privileged access
What is just-in-time access?
In plain wordsLike a hotel key that works only during your stay: when you check out, it stops opening the door by itself.
How it works
Just-in-time access grants a privilege only when needed, for a limited time, usually with a reason (ticket number) and sometimes an approval, then removes it automatically. The goal is zero standing privileges: at rest, nobody is admin.
It can be implemented as temporary group or role membership, ephemeral accounts created and deleted per session, or short-lived certificates and cloud credentials. It reduces the window an attacker can exploit and makes every privileged action traceable to a request.
A concrete example
A cloud engineer has no owner rights on the subscription. During an incident they activate the Owner role for 1 hour with ticket INC-4821; MFA is required at activation. After 60 minutes the role disappears, and the audit log links every change to INC-4821.
See it in action: privileges only when needed
Mistakes to avoid
- JIT with eight-hour windows renewed every day: that is standing access with extra steps.
- No break-glass plan if the JIT system is down.
They may also ask you
- When would you require approval for JIT and when self-service?
- How does JIT apply to machine identities?
- Go deeper
- JIT →
- A privileged session →