Yes, but only for drafting inside a controlled workflow where humans confirm the business meaning and review the final output. AI is useful for repetitive policy structure, test scaffolding, and error correction. It is not a substitute for judgment, because the security risk sits in the exception logic, not the syntax.
Why This Matters for Security Teams
Authorisation policy is where intent becomes enforced access. If AI is allowed to draft policies, the question is not whether it can generate valid syntax, but whether it can preserve business meaning, exception handling, and separation of duties. That matters because policy errors often do not fail loudly. They quietly widen access, override compensating controls, or create gaps that only appear during an incident review. NHI Management Group’s Top 10 NHI Issues is a useful reminder that identity sprawl and weak governance tend to surface as operational risk long before they show up as a formal control failure. When authorisation logic governs service accounts, API keys, agent actions, and machine-to-machine workflows, small wording changes can materially alter risk. Current guidance from the NIST Cybersecurity Framework 2.0 reinforces that access control must be governed, reviewed, and traceable, not merely generated. In practice, many security teams encounter policy drift only after a failed audit, an over-privileged integration, or a compromised workload has already used the excess access.How It Works in Practice
The safest pattern is to treat AI as a drafting assistant inside a controlled policy engineering workflow. It can help produce first-pass policy blocks, suggest condition structure, generate test cases, and flag missing exceptions. Humans then validate the business logic, threat assumptions, and edge-case handling before anything reaches production. That is especially important for NHI and agentic environments, where policies often govern short-lived credentials, workload identities, and automated tool use rather than human sessions. A practical workflow usually includes:- Policy templates with fixed guardrails so AI fills structure, not authority.
- Human approval for every rule that changes privilege, scope, or exception paths.
- Automated tests that simulate both expected and abusive requests.
- Version control and peer review so each change is attributable and reversible.
- Policy-as-code evaluation at request time, rather than trusting a static rule set forever.
Common Variations and Edge Cases
Tighter policy control often increases review overhead, requiring organisations to balance faster drafting against stricter approval gates. That tradeoff is real, especially in fast-moving platform teams that manage many service-to-service permissions. Best practice is evolving, but there is no universal standard for letting AI author production authorisation logic end to end. The most defensible use cases are repetitive and low-risk, such as generating boilerplate RBAC policy, translating existing human-approved rules into another policy language, or creating negative test cases. Higher-risk cases include policies that govern administrative access, break-glass paths, cross-domain trust, or agent actions that can chain tools and escalate privilege. For those scenarios, AI should not be the decision-maker. It should be a drafting aid under change control. One useful check is whether a human reviewer can explain the policy in plain language without referring back to the model output. If not, the policy is probably too important to auto-accept. Organisations should also be wary of training AI on existing policies that already contain drift or hidden exceptions, because the model may reproduce bad design rather than improve it. The right objective is not AI-written policy. It is policy that is faster to draft, easier to test, and still fully accountable to human owners.Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Agentic AI Top 10 and OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | A01 | AI-authored policy can create unsafe agent permissions if exception logic is wrong. |
| OWASP Non-Human Identity Top 10 | NHI-04 | Policy generation must account for non-human identity access paths and lifecycle drift. |
| NIST CSF 2.0 | PR.AC-4 | Access control logic needs governed review, not unchecked automated generation. |
Require human review for any AI-generated policy that changes agent or workload authority.
Related resources from NHI Mgmt Group
Deepen Your Knowledge
Reviewed and updated by the NHIMG editorial team on June 10, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org