By NHI Mgmt Group Editorial TeamPublished 2025-10-17Domain: Governance & RiskSource: StrongDM

TL;DR: Zero trust policy writing must move beyond simple identity checks to contextual decisions based on who, what, when, where, why, and how, with continuous session verification and just-in-time access shaping enforcement, according to StrongDM. That matters because access governance now has to account for context, device posture, timing, and activity, not static trust alone.


At a glance

What this is: This is a zero trust policy-writing guide that argues access decisions should be driven by contextual signals, not identity alone.

Why it matters: It matters because IAM, PAM, and NHI programmes all need policy logic that can evaluate request context, session behaviour, and least-privilege boundaries in real time.

By the numbers:

👉 Read StrongDM's guide to zero trust policy writing with the Kipling Method


Context

Zero trust policy writing fails when access is treated as a one-time yes or no decision. The primary keyword here is zero trust policy writing, and the core governance gap is that identity alone does not tell you whether a session should continue, what the subject may do, or whether the request still fits policy after it begins.

The Kipling Method is a practical shorthand for building policy around six questions: who, what, when, where, why, and how. For IAM teams, the value is not the poem reference but the discipline of turning access into a context-aware decision model that can support human users, service accounts, and privileged workflows without relying on static trust.


Key questions

Q: How should security teams implement contextual access policies in zero trust environments?

A: Start by defining which signals actually matter for the protected resource, then wire those signals into policy decisions at login and during the session. For privileged or regulated systems, include identity, device posture, location, time, and activity checks so access can be narrowed, interrupted, or revoked when conditions change.

Q: Why do static role-based policies fall short in zero trust programmes?

A: Roles describe broad entitlement, but they do not tell you whether a request is appropriate at that moment. Zero trust needs context because the same identity can be safe in one situation and risky in another. Static policies miss changes in device state, location, session duration, and behaviour.

Q: How do you know if just-in-time access is actually reducing risk?

A: Look for shorter privilege windows, fewer always-on exceptions, and successful revocation when access is no longer justified. If temporary access still behaves like standing privilege in practice, the control is cosmetic rather than protective. Effective JIT should leave a clear start, end, and audit trail.

Q: Should organisations align PAM and zero trust policy design?

A: Yes. PAM and zero trust should use the same contextual logic for privileged sessions, because separate rule sets create inconsistent enforcement and blind spots. When the access model is shared, teams can govern who gets in, what they can do, and when the session must end with far less drift.


Technical breakdown

Who, what, when, where, why, and how in zero trust policy writing

The Kipling Method is a policy-writing structure, not an access control standard. It pushes teams to encode identity, resource scope, time, location, purpose, and access path into the decision. In practice, that means policy is no longer just authentication plus role lookup. It becomes a contextual authorisation layer that can evaluate whether the request still fits the expected pattern at the moment of access. This is especially important where privileged access, regulated data, or remote sessions are involved.

Practical implication: define policy inputs explicitly so your access engine can evaluate context instead of relying on a single login event.

Continuous trust assessment and session enforcement

The article’s technical point is that Zero Trust is not only about granting access, but about continuously rechecking it. That shifts enforcement from perimeter-style admission to session-level monitoring, where device trust, location, activity, and time can invalidate access after it starts. This matters because many real-world risks happen after authentication, when a valid session is abused, moved, or extended beyond its original purpose. Continuous verification is the architectural difference between static permission and living control.

Practical implication: build policies that can revoke or interrupt sessions when context changes, especially for privileged work.

Just-in-time access, device trust, and contextual signals

Just-in-time access only works when the policy can define both the start and the end of the permitted window. StrongDM’s examples also show how device trust, knowledge trust, classification trust, time trust, location trust, IP trust, activity trust, and code trust can be layered into one decision. The architecture is useful because it narrows privilege to the specific request and the specific moment. But it also raises the bar for policy quality, since weak signals or broad exceptions quickly erode the intended control boundary.

Practical implication: combine JIT access with contextual checks so temporary privilege does not become de facto standing privilege.


  • Cisco DevHub NHI breach — IntelBroker exploited exposed Cisco credentials, API tokens and keys in DevHub.
  • DeepSeek breach — DeepSeek breach exposed 1M+ log lines and sensitive secret keys.

Read our 52 NHI Breaches Analysis report for a comprehensive view of breaches impacting Non-Human Identities including AI Agents.


NHI Mgmt Group analysis

Zero trust policy writing is only as strong as the context model behind it. This article gets one thing right: identity alone is not enough to decide whether access should continue. But the deeper issue is that many policy programmes still treat authentication as the main event, when the real control problem is whether the session context remains acceptable after entry. Practitioners should treat policy as a decision engine, not a login gate.

Continuous verification is the real boundary control, not the initial grant. Static access policies assume the risk picture is stable at the point of login, which is no longer a safe assumption for privileged or remote work. Once sessions can change state through time, device posture, or activity, the policy must be able to reassess trust continuously. The practitioner takeaway is that Zero Trust succeeds or fails in-session, not at first authentication.

Contextual policy writing closes the gap between PAM and Zero Trust. The strongest part of this framing is that it links least privilege, just-in-time access, and session monitoring into one governance pattern. That matters because organisations often separate IAM policy design from privileged access enforcement, creating inconsistent control logic across environments. A coherent programme uses the same contextual principles across human admin access, workload access, and sensitive operational systems.

Time, location, and activity rules create a more precise access perimeter than roles alone. Role-based access can describe intent, but it cannot express whether a request is happening from the right place, at the right time, or through the right behaviour path. That is why the Kipling Method is useful as a policy-writing discipline. The practitioner conclusion is simple: if policy does not encode context, it is only documenting privilege, not governing it.

From our research:

  • 90% of IT leaders say properly managing NHIs is essential for a successful zero-trust implementation, according to the Ultimate Guide to NHIs.
  • Only 20% have formal processes for offboarding and revoking API keys, and even fewer have procedures for rotating them.
  • For the governance gap behind these patterns, The 52 NHI breaches Report shows how exposed credentials and excessive privilege turn policy into exposure.

What this signals

Context-aware policy is becoming the default expectation for both human and non-human access. Organisations that still separate authentication from authorisation will struggle to govern privileged work across cloud, hybrid, and regulated environments. The practical shift is to treat every access request as a live decision, not a one-time approval.

Policy drift is the hidden failure mode in zero trust programmes. When teams encode who and what but leave when, where, and how as exceptions, they create access paths that are hard to audit and easy to abuse. That is especially dangerous where PAM and NHI governance overlap, because exceptions multiply quickly.

With 97% of NHIs carrying excessive privileges, according to our Ultimate Guide to NHIs, contextual authorisation is no longer optional for machine access. Teams need policy logic that can narrow scope dynamically, or else least privilege stays theoretical.


For practitioners

  • Map access policy inputs to decision points List the identity, resource, time, location, device, and activity signals that should influence each sensitive access request. Use that mapping to identify where your current policy engine still depends on static role assignment or one-time authentication.
  • Separate login trust from session trust Require controls that can reassess access after authentication begins, especially for privileged consoles, regulated systems, and remote admin access. A valid login should not guarantee the session remains valid if device posture, location, or behaviour changes.
  • Tie just-in-time access to explicit expiry conditions Define when temporary access starts, what ends it, and which contextual signals can revoke it early. This prevents temporary privilege from silently becoming standing privilege through open-ended exceptions.
  • Standardise contextual checks across IAM and PAM Use the same policy logic for human admins, service accounts, and sensitive infrastructure sessions wherever possible. When controls differ by platform, document the exception so policy drift does not create hidden access paths.

Key takeaways

  • Zero trust policy writing succeeds when it turns context into an enforceable access decision, not just a descriptive checklist.
  • Continuous trust assessment matters because session risk changes after authentication, especially in privileged and regulated environments.
  • IAM and PAM teams should align on the same contextual signals so temporary access, session control, and revocation behave consistently.

Standards & Framework Alignment

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

OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST Zero Trust (SP 800-207) and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST Zero Trust (SP 800-207)The article is built around continuous verification and least privilege.
NIST CSF 2.0PR.AC-4Contextual access control supports least privilege and session governance.
OWASP Non-Human Identity Top 10NHI-03JIT access and credential scope control are central to machine identity governance.

Use NHI-03 to constrain access windows and reduce standing privilege for non-human identities.


Key terms

  • Zero Trust Policy Writing: Zero trust policy writing is the practice of turning access principles into enforceable decision logic. It defines which signals should govern access, how sessions are reassessed, and when access should end. In mature programmes, it ties identity, context, and privilege into one control model.
  • Contextual Authorisation: Contextual authorisation means access is decided using more than identity alone. Time, location, device posture, activity, and resource sensitivity all influence whether a request should be allowed. This makes the control adaptive, but it also demands cleaner policy design and stronger signal quality.
  • Continuous Trust Assessment: Continuous trust assessment is the ongoing re-evaluation of whether a session should keep its privileges after it starts. It assumes risk can change during the session, so access may need to be narrowed or revoked mid-flow. This is central to zero trust and privileged access governance.

Deepen your knowledge

Zero trust policy writing, contextual access control, and just-in-time privilege are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If your team is aligning human and non-human access policy, it is worth exploring.

This post draws on content published by StrongDM: Unlocking Zero Trust: The Kipling Method for Policy Writing. Read the original.

NHIMG Editorial Note
Published by the NHIMG editorial team on 2025-10-17.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org