{"name":"Identi Patterns","description":"Identi Patterns is a library of identity and access management (IAM) patterns, an initiative of The Identi Exchange community, written by Trevonix identity architects. Each pattern pairs a recurring problem with a vendor-neutral solution and step-by-step recipes for Ping Identity, Okta, Microsoft Entra and Saviynt.","publisher":{"name":"Trevonix","url":"https://www.trevonix.com"},"license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"generated":"2026-11-24T16:58:56.057Z","patterns":[{"id":"TIE-AGT-001","title":"Agent as a first-class identity with an accountable sponsor","url":"https://exchange.trevonix.com/patterns/tie-agt-001-agent-as-a-first-class-identity-with-an-accountable-sponsor","markdown_url":"https://exchange.trevonix.com/patterns/tie-agt-001-agent-as-a-first-class-identity-with-an-accountable-sponsor.md","json_url":"https://exchange.trevonix.com/api/patterns/TIE-AGT-001.json","intent":"Register every AI agent as its own identity, with a named human sponsor accountable for its purpose, access and retirement.","summary":"AI agents often run on shared service accounts, borrowed human credentials or API keys nobody owns. This pattern gives each agent its own identity record, a business sponsor and technical owners, and drives reviews, sponsor changes and retirement from that record.","maturity":"reference-build","collection":"Agent identity","category":"Identity and ownership","problems":["Unowned AI agents","Shadow AI and agent sprawl","Accountability for AI actions","Agents using human or shared credentials","Orphaned agents after people leave","Audit evidence for AI governance"],"standards":["OAuth 2.0","OpenID Connect","NIST SP 800-53 AC-2","ISO/IEC 27001:2022 A.5.16","OWASP LLM06 Excessive Agency"],"tags":["AI agent","agent identity","non-human identity","NHI","sponsor","owner","agent registry","lifecycle","joiner-mover-leaver","Entra Agent ID","Okta for AI Agents","PingOne AI agents"],"recipes":{"ping":{"product":"Ping Identity","status":"reference-build"},"okta":{"product":"Okta","status":"reference-build"},"entra":{"product":"Microsoft Entra","status":"reference-build"},"saviynt":{"product":"Saviynt","status":"documented"},"misc":{"product":"Other product","status":"not-available"}},"version":"1.0","last_reviewed":"2026-11-24"},{"id":"TIE-AGT-002","title":"On-behalf-of delegation: the user as subject, the agent as actor","url":"https://exchange.trevonix.com/patterns/tie-agt-002-on-behalf-of-delegation-the-user-as-subject-the-agent-as-actor","markdown_url":"https://exchange.trevonix.com/patterns/tie-agt-002-on-behalf-of-delegation-the-user-as-subject-the-agent-as-actor.md","json_url":"https://exchange.trevonix.com/api/patterns/TIE-AGT-002.json","intent":"Let an agent act for a signed-in user with a short-lived token that names both of them, so every API sees who asked, which agent acted, and no more access than both are allowed.","summary":"Agents that reuse a user's token, or call APIs with their own broad credentials, hide who is really acting. This pattern exchanges the user's token for a delegated token where the user is the subject and the agent is the actor, bound to one audience and the task's scopes.","maturity":"reference-build","collection":"Agent identity","category":"Delegation and authorisation","problems":["Agents using human or shared credentials","Accountability for AI actions","Over-privileged agents","Impersonation instead of delegation","Audit evidence for AI governance"],"standards":["OAuth 2.0 Token Exchange (RFC 8693)","OAuth 2.0 Resource Indicators (RFC 8707)","JWT access tokens (RFC 9068)","OpenID Connect","OWASP Agentic Top 10 ASI03 Identity and Privilege Abuse"],"tags":["on-behalf-of","OBO","delegation","token exchange","act claim","may_act","actor token","subject token","impersonation","confused deputy","audience","down-scoping"],"recipes":{"ping":{"product":"Ping Identity","status":"reference-build"},"okta":{"product":"Okta","status":"documented"},"entra":{"product":"Microsoft Entra","status":"documented"},"saviynt":{"product":"Saviynt","status":"documented"},"misc":{"product":"Other product","status":"not-available"}},"version":"1.0","last_reviewed":"2026-11-24"},{"id":"TIE-AGT-003","title":"Externalised authorisation for agent actions","url":"https://exchange.trevonix.com/patterns/tie-agt-003-externalised-authorisation-for-agent-actions","markdown_url":"https://exchange.trevonix.com/patterns/tie-agt-003-externalised-authorisation-for-agent-actions.md","json_url":"https://exchange.trevonix.com/api/patterns/TIE-AGT-003.json","intent":"Take the allow-or-deny decision for each agent action out of the agent and its prompt, make it in a policy decision point with full context, and enforce it at a gateway or the resource.","summary":"Scopes and roles say what an agent may ever do, not whether this action, for this user, now, is acceptable. This pattern sends each agent action to a policy decision point that returns permit, deny or permit-with-conditions, enforced outside the agent.","maturity":"reference-build","collection":"Agent identity","category":"Runtime authorisation","problems":["Excessive agency","Over-privileged agents","Inconsistent controls across agents","Accountability for AI actions","Audit evidence for AI governance"],"standards":["OpenID AuthZEN Authorization API 1.0","NIST SP 800-207 Zero Trust Architecture (PDP and PEP)","OAuth 2.0 Rich Authorization Requests (RFC 9396)","OWASP Agentic Top 10 ASI02 Tool Misuse and Exploitation","OWASP Agentic Top 10 ASI03 Identity and Privilege Abuse"],"tags":["policy decision point","PDP","policy enforcement point","PEP","externalised authorisation","fine-grained authorisation","ABAC","obligations","AuthZEN","runtime authorisation","API gateway","MCP gateway"],"recipes":{"ping":{"product":"Ping Identity","status":"reference-build"},"okta":{"product":"Okta","status":"documented"},"entra":{"product":"Microsoft Entra","status":"documented"},"saviynt":{"product":"Saviynt","status":"documented"},"misc":{"product":"Open Policy Agent","status":"documented"}},"version":"1.0","last_reviewed":"2026-11-24"},{"id":"TIE-AGT-004","title":"Human approval gate for consequential agent actions","url":"https://exchange.trevonix.com/patterns/tie-agt-004-human-approval-gate-for-consequential-agent-actions","markdown_url":"https://exchange.trevonix.com/patterns/tie-agt-004-human-approval-gate-for-consequential-agent-actions.md","json_url":"https://exchange.trevonix.com/api/patterns/TIE-AGT-004.json","intent":"Hold an AI agent's high-impact action until an accountable human approves that exact request, and enforce the hold outside the agent.","summary":"Valid access is not the same as an acceptable action. This pattern lets a policy decide which agent actions need a human, holds them at an enforcement point, shows an accountable approver the context, and releases only the approved request, once, before it expires.","maturity":"reference-build","collection":"Agent identity","category":"Human oversight","problems":["Accountability for AI actions","Excessive agency","Irreversible agent actions","Production changes by agents","Regulatory human oversight requirements","Audit evidence for AI governance"],"standards":["OpenID Client-Initiated Backchannel Authentication (CIBA) Core 1.0","OAuth 2.0 Rich Authorization Requests (RFC 9396)","OAuth 2.0 Token Exchange (RFC 8693)","EU AI Act Article 14 (human oversight)","OWASP Agentic Top 10 ASI09 Human-Agent Trust Exploitation"],"tags":["human in the loop","HITL","approval","four eyes","maker-checker","CIBA","asynchronous authorisation","step-up","consequential action","obligation","approval fatigue"],"recipes":{"ping":{"product":"Ping Identity","status":"reference-build"},"okta":{"product":"Okta","status":"documented"},"entra":{"product":"Microsoft Entra","status":"reference-build"},"saviynt":{"product":"Saviynt","status":"documented"},"misc":{"product":"Auth0 for AI Agents","status":"documented"}},"version":"1.0","last_reviewed":"2026-11-24"},{"id":"TIE-AGT-005","title":"Enforce at the resource, not in the prompt","url":"https://exchange.trevonix.com/patterns/tie-agt-005-enforce-at-the-resource-not-in-the-prompt","markdown_url":"https://exchange.trevonix.com/patterns/tie-agt-005-enforce-at-the-resource-not-in-the-prompt.md","json_url":"https://exchange.trevonix.com/api/patterns/TIE-AGT-005.json","intent":"Assume any agent's instructions can be hijacked, and bound what a hijacked agent can do with identity controls that are enforced outside the model.","summary":"Prompt injection can turn an agent against its user through an email, a web page or a tool result. Prompts and filters cannot reliably stop it. This pattern limits the damage with identity: delegated, narrow tokens, tool allow-lists, enforcement at gateways and resources, and approval for risky actions.","maturity":"reference-build","collection":"Agent identity","category":"Runtime authorisation","problems":["Prompt injection","Agent goal hijack","Data exfiltration by agents","Excessive agency","Over-privileged agents"],"standards":["OWASP Top 10 for LLM Applications 2025 LLM01 Prompt Injection","OWASP Agentic Top 10 ASI01 Agent Goal Hijack","OWASP Agentic Top 10 ASI02 Tool Misuse and Exploitation","OAuth 2.0 Token Exchange (RFC 8693)","NIST SP 800-207 Zero Trust Architecture"],"tags":["prompt injection","indirect prompt injection","goal hijack","lethal trifecta","blast radius","tool allow-list","least privilege","data exfiltration","guardrails","trust boundary","confused deputy"],"recipes":{"ping":{"product":"Ping Identity","status":"reference-build"},"okta":{"product":"Okta","status":"documented"},"entra":{"product":"Microsoft Entra","status":"documented"},"saviynt":{"product":"Saviynt","status":"documented"},"misc":{"product":"Other product","status":"not-available"}},"version":"1.0","last_reviewed":"2026-11-24"},{"id":"TIE-AGT-006","title":"Guardrails for autonomous coding agents","url":"https://exchange.trevonix.com/patterns/tie-agt-006-guardrails-for-autonomous-coding-agents","markdown_url":"https://exchange.trevonix.com/patterns/tie-agt-006-guardrails-for-autonomous-coding-agents.md","json_url":"https://exchange.trevonix.com/api/patterns/TIE-AGT-006.json","intent":"Let coding agents write and test code freely, while identity controls stop them from pushing, merging, deploying or touching production on their own authority.","summary":"Coding agents now commit, open pull requests and trigger pipelines. Running them on a developer's credentials gives them that developer's reach into production. This pattern gives each agent its own identity, keeps production credentials out of reach, and puts human-approved gates on push, merge and deploy.","maturity":"reference-build","collection":"Agent identity","category":"Workforce agents","problems":["Production changes by agents","Agents using human or shared credentials","Irreversible agent actions","Secrets exposure","Software supply chain risk","Accountability for AI actions"],"standards":["OWASP Agentic Top 10 ASI02 Tool Misuse and Exploitation","OWASP Agentic Top 10 ASI05 Unexpected Code Execution","NIST SP 800-218 Secure Software Development Framework","SLSA","OpenID Connect workload identity federation"],"tags":["coding agent","AI developer","autonomous agent","pull request","branch protection","deployment approval","CI/CD","GitHub","personal access token","PAT","production database","sandbox","separation of duties"],"recipes":{"ping":{"product":"Ping Identity","status":"reference-build"},"okta":{"product":"Okta","status":"documented"},"entra":{"product":"Microsoft Entra","status":"reference-build"},"saviynt":{"product":"Saviynt","status":"documented"},"misc":{"product":"GitHub","status":"documented"}},"version":"1.0","last_reviewed":"2026-11-24"},{"id":"TIE-AGT-007","title":"Enterprise-managed cross-app access for AI agents","url":"https://exchange.trevonix.com/patterns/tie-agt-007-enterprise-managed-cross-app-access-for-ai-agents","markdown_url":"https://exchange.trevonix.com/patterns/tie-agt-007-enterprise-managed-cross-app-access-for-ai-agents.md","json_url":"https://exchange.trevonix.com/api/patterns/TIE-AGT-007.json","intent":"Let the enterprise identity provider, not each user's consent click, decide which AI agents may reach which third-party apps on a user's behalf, and keep that decision revocable in one place.","summary":"AI agents connect to SaaS apps and MCP servers through per-user OAuth consent that IT cannot see or revoke centrally. Cross App Access (XAA) moves that decision to the identity provider: the agent gets an ID-JAG from the IdP and trades it for a scoped access token at the app.","maturity":"reference-build","collection":"Agent identity","category":"Delegation and authorisation","problems":["Shadow AI and agent sprawl","OAuth consent sprawl","Over-privileged agents","Agents using human or shared credentials","Central revocation of agent access"],"standards":["Identity Assertion JWT Authorization Grant (IETF OAuth working group draft)","OAuth 2.0 Token Exchange (RFC 8693)","JWT Profile for OAuth 2.0 Authorization Grants (RFC 7523)","OAuth 2.0 Identity and Authorization Chaining Across Domains (IETF draft)","OpenID Connect"],"tags":["Cross App Access","XAA","ID-JAG","identity assertion authorization grant","enterprise managed authorization","consent","SaaS","MCP server","resource authorization server","JWT bearer grant","identity chaining"],"recipes":{"ping":{"product":"Ping Identity","status":"documented"},"okta":{"product":"Okta","status":"reference-build"},"entra":{"product":"Microsoft Entra","status":"documented"},"saviynt":{"product":"Saviynt","status":"documented"},"misc":{"product":"Auth0 (as resource app)","status":"documented"}},"version":"1.0","last_reviewed":"2026-11-24"}]}