Join our Newsletter — 33% off our NHI Course
Authentication, Authorisation & Trust

Request.time

← Back to Glossary
By NHI Mgmt Group Updated November 26, 2026 Domain: Authentication, Authorisation & Trust

Request.time is an attribute used in Google Cloud IAM Conditions that holds the timestamp of an incoming request. Policies can compare it with dates or times to grant temporary access that expires automatically, or to limit access to set periods. Defenders use it to avoid permanent grants, but it does not replace removing unneeded roles.

How Request.time Works in Google Cloud IAM Conditions

Request.time is a condition attribute, so it lets policy authors make access decisions against the current request timestamp rather than only against identity, role, or resource. That makes it useful for time-bound access, maintenance windows, and expiry rules, especially when an organisation wants access to end automatically without relying on manual cleanup.

Because the value is evaluated at request time, the policy can allow access only during a defined window or before a deadline. The control is precise, but it is still only one part of access governance, it governs when access is valid, not whether the access grant itself remains appropriate over the long term.

Why Time-Based Conditions Matter

Time conditions reduce standing exposure by making permissions temporary by default. They are most valuable when access is needed for a bounded task such as incident response, change work, vendor support, or scheduled operations. In those cases, the policy itself can enforce expiry even if a human forgets to revoke access later.

The main security benefit is limiting how long a granted path remains usable. That lowers the chance that an old approval, forgotten exception, or abandoned elevated role becomes a permanent control weakness. It also helps make access policy more explicit, because the intended duration becomes part of the rule rather than an informal process expectation.

Request.time is especially useful alongside broader access governance practices. NHIMG’s Access Request and Approval Workflow Design Guide is relevant here because time-bounded access works best when the request, approval, and expiry model are designed together.

Where Request.time Fits in Google Cloud IAM

In Google Cloud IAM, conditions are evaluated in policy logic, so Request.time acts as a policy input rather than a standalone control. It can be paired with role bindings, resource context, and other attributes to narrow access in a way that is more expressive than a simple allow or deny list.

This is one reason conditions are powerful for least privilege. A role can still exist, but the condition narrows when it can be used. That is different from permanent broad access, because the policy can be written to expire, open only during a maintenance period, or constrain emergency access to a short interval.

For practitioners working with Google Cloud IAM specifically, NHIMG’s Google Cloud IAM and Service Accounts Guide provides the wider context for roles, service accounts, impersonation, and least privilege, which is where time conditions usually belong in practice.

Common Failure Modes and Design Trade-offs

Time-based policy logic is not a substitute for removing unnecessary roles, because an expired rule does not fix an overbroad grant that was never needed. It is also easy to over-trust the presence of a deadline and assume the access problem is solved when the underlying role design is still too permissive.

Another trade-off is operational. If the time window is too short, legitimate work can fail and users may request exceptions. If it is too long, the benefit of temporary access shrinks. Good design therefore depends on matching the time window to the real task, not to a generic policy preference.

Google Cloud IAM conditions also sit alongside deny policies and other guardrails, so time logic should be reviewed in the context of the full policy set. NHIMG’s GCP IAM Deny Policies and IAM Conditions Guide is a useful companion because it shows how time attributes, deny logic, and temporary access patterns fit together.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST SP 800-53 Rev 5 and NIST CSF 2.0 set the technical controls, while ISO/IEC 27001:2022 defines the regulatory obligations.

FrameworkControl / ReferenceRelevance
NIST SP 800-53 Rev 5AC-6 — Least PrivilegeTime conditions narrow when a granted privilege can be used.
AC-2 — Account ManagementTemporary access depends on governed account and entitlement lifecycle.
IA-5 — Authenticator ManagementTemporary access often relies on credential or token handling that expires safely.
Recommendation — Use AC-6 to constrain access duration and reduce standing privilege. Use AC-2 to manage grant duration and remove access when no longer needed. Use IA-5 to ensure authenticators and related secrets support short-lived access.
NIST CSF 2.0PR.AA-05 — Identity Management, Authentication and Access ControlRequest.time supports access decisions that are time-bound and policy-driven.
Recommendation — Apply PR.AA-05 to enforce time-limited access decisions in IAM policies.
ISO/IEC 27001:2022A.5.18 — Access rightsTime-limited grants are part of controlling and reviewing access rights.
Recommendation — Define expiry and review expectations for access rights under A.5.18.

Practitioner Guidance

Why practitioners should care: Request.time is most valuable when temporary access must be enforced automatically, not merely promised in process. Use it for access that should expire by design, then confirm that the surrounding role model still reflects least privilege.

What to watch for: Treat a successful time condition as one control layer, not proof that the broader access design is safe. If the underlying role is excessive, the condition only delays exposure, it does not eliminate it.

Practitioner takeaway: The strongest pattern is short-lived access with explicit expiry and a clean removal path for the grant itself, so the policy and the lifecycle both end.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on November 26, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org