⏱️Organization access duration settings
Set the organization-wide duration limits for access requests in P0: expiry presets, approvable duration, maximum access duration, and maximum standing access duration.
Access duration settings control how long access lasts and how long requests stay open across your whole organization. You set them in the P0 app under P0 Management > Access management. Only Owners can change them.
These settings apply organization-wide and act as the outer bounds for every access request, regardless of which resource or policy it targets.

Expiry options
Expiry options are the preset durations that appear in the access request and approval screens, so requestors and approvers can pick a duration with one click instead of typing one. The defaults are:
5 minutes
1 hour
1 day
1 week
30 days
Add your own presets, remove ones you don't want, or reset the list to the defaults. Approvers can always enter a custom time manually, whether or not it matches a preset.
Approvable duration
The approvable duration is the window in which a request must be approved. A request that no one approves within this window is automatically denied, so stale requests don't linger. The default is 14 days.
Organization maximum access duration
The organization maximum access duration is the longest any single access grant can last. The default is 180 days.
When someone requests access for longer than this maximum, P0 caps the request at the maximum and creates it, rather than rejecting it.
Organization maximum standing access duration
The organization maximum standing access duration is the longest that standing access can last — access granted without a human approving each request, through always-allow rules and auto-approve (on-call) rules. The default is 24 hours.
This value also can't exceed the organization maximum access duration. If you set it higher, it is still effectively enforced as no greater than the organization maximum access duration.
Set these durations as code
You can manage these settings with the P0 Terraform provider (version 0.50.0 or later):
p0_access_durationssets the approvable, maximum access, and maximum standing access durations.p0_expiry_optionsdefines the expiry presets.
To configure them over the API, see the Just-in-time settings API.
Last updated