See also: Action-based Access Requests — approve individual commands instead of granting time-boxed access.
What You’ll Accomplish
Just-in-Time (JIT) Access Requests let you grant temporary access to production resources with automatic expiration. Instead of giving permanent access, you can:- Grant a developer 2 hours of database access for debugging
- Allow on-call engineers 8 hours of access during their shift
- Enable break-glass access for emergencies with full audit trail
- Reduce standing privileges by requiring approval for every access request
How JIT Access Requests Work
User Requests Access
User runs
hoop connect <connection> --duration 2h to request time-limited accessRequest Created
An access request is created with status PENDING and approvers are notified via Slack/Teams
Request Statuses
| Status | Description |
|---|---|
| PENDING | Waiting for approval from designated groups |
| APPROVED | Access granted, user can connect |
| REJECTED | Access denied by an approver |
| REVOKED | Access withdrawn after initial approval |
| EXECUTED | Access period completed (expired) |
Common Use Cases
1. Production Database Debugging
A developer needs to investigate a production issue:2. On-Call Access
On-call engineers get temporary elevated access during their shift:3. Break-Glass Emergency Access
For urgent incidents, request immediate access with documentation:emergency-approvers group with 24/7 availability.
4. Contractor Time-Limited Access
Grant temporary access for external contractors:Best Practices
Set Reasonable Durations
Match access duration to task requirements. 2 hours for debugging, 8 hours for on-call shifts.
Use Multiple Groups for Sensitive Systems
Require both technical and security approval for production databases.
Configure Slack/Teams
Real-time notifications ensure fast approval turnaround.
Audit Regularly
Review access patterns in Sessions to identify unusual activity.
Ready to set it up? See the JIT Access Requests Configuration guide for creating the Access Request rule, approval groups, duration limits, and notifications.
Next Steps
Action Access Requests
Approve individual commands instead of time-based access
Slack Integration
Set up Slack for access request notifications
Session Recording
Audit what happened during approved sessions
Access Control
Configure who can access which resource roles