Identi PatternsAn initiative of The Identi Exchange

Identity Pattern Library

A pattern is a proven, vendor-neutral answer to an identity problem that keeps coming back. It sets out the problem, the forces you have to balance and the solution, then shows how to build it on the products you run. How patterns work

14 patterns

TIE-AGT-018Agent identityData access

Permission-aware retrieval for RAG and agent search

Make sure an agent that retrieves documents to answer a question only ever puts content into the model's context that the person it serves, and the agent itself, are allowed to read, using permissions that stay in step with the source systems.

  • Data leakage through AI answers
  • Oversharing
  • Excessive agency
Documented
  1. Ping: Documented
  2. Okta: Documented
  3. Entra: Documented
  4. Saviynt: Documented
  5. OpenFGA, Elasticsearch document-level security or PostgreSQL row-level security: Documented

Updated

TIE-AGT-017Agent identityGovernance

Lifecycle and access reviews for AI agents

Govern each agent from request to retirement like a joiner, mover and leaver: time-bound access granted through requests, reviews by accountable people at a cadence set by risk, automatic handling when sponsors move or leave, and clean retirement when the agent is no longer needed.

  • Orphaned agents after people leave
  • Privilege creep in agents
  • Unowned AI agents
Documented
  1. Ping: Documented
  2. Okta: Documented
  3. Entra: Documented
  4. Saviynt: Documented
  5. Existing IGA with agents modelled as non-human accounts: Documented

Updated

TIE-AGT-016Agent identityIncident response

Agent kill switch: stop one agent, or all of them, in minutes

Be able to stop a misbehaving agent, a class of agents or every agent quickly and verifiably, by acting on identity, tokens, enforcement points and runtimes in a planned order, and to restore them safely afterwards.

  • Rogue or compromised agents
  • Prompt injection incidents
  • Runaway automation
Reference build
  1. Ping: Reference build
  2. Okta: Documented
  3. Entra: Reference build
  4. Saviynt: Documented
  5. Model providers, source control and cloud: Documented

Updated

TIE-AGT-015Agent identityTool access

Secure MCP servers and tool access with OAuth

Protect every remote MCP server as an OAuth protected resource: clients discover the authorisation server, get audience-bound tokens with tool-level scopes, the server never passes tokens through, and consequential tool calls are authorised per call.

  • Tool misuse by agents
  • Unprotected MCP servers
  • Token passthrough and confused deputy
Reference build
  1. Ping: Reference build
  2. Okta: Reference build
  3. Entra: Documented
  4. Saviynt: Documented
  5. Auth0 or Keycloak as the MCP authorisation server: Documented

Updated

TIE-AGT-014Agent identityCredentials

Short-lived, task-scoped credentials instead of standing secrets

Remove long-lived secrets from AI agents: let each agent prove who it is with a federated identity or a key it never shares, and give it short-lived tokens limited to one audience and the scopes one task needs.

  • Agents using human or shared credentials
  • Long-lived API keys
  • Secret sprawl
Reference build
  1. Ping: Reference build
  2. Okta: Documented
  3. Entra: Documented
  4. Saviynt: Documented
  5. CI/CD OIDC federation and SPIFFE/SPIRE: Documented

Updated

TIE-AGT-013Agent identityRisk and governance

Risk-tier agents and scale controls to the tier

Classify every agent into a small number of risk tiers from what it can reach, how autonomously it acts and who can instruct it, and attach a fixed control baseline to each tier so policies, reviews and approvals follow the tier automatically.

  • Excessive agency
  • Over-privileged agents
  • Inconsistent agent controls
Documented
  1. Ping: Documented
  2. Okta: Documented
  3. Entra: Documented
  4. Saviynt: Documented
  5. Open Policy Agent: Documented

Updated

TIE-AGT-012Agent identityDiscovery and inventory

Discover and inventory every AI agent, including shadow AI

Find every AI agent that can act in your environment, whether built, bought or brought in by employees, and keep one living inventory that records who owns it, what it is for, how it authenticates and what it can reach.

  • Shadow AI and agent sprawl
  • Unowned AI agents
  • OAuth consent sprawl
Documented
  1. Ping: Documented
  2. Okta: Documented
  3. Entra: Documented
  4. Saviynt: Documented
  5. CASB, secret scanning and cloud inventory: Documented

Updated

TIE-AGT-007Agent identityDelegation and authorisation

Enterprise-managed cross-app access for AI agents

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.

  • Shadow AI and agent sprawl
  • OAuth consent sprawl
  • Over-privileged agents
Reference build
  1. Ping: Documented
  2. Okta: Reference build
  3. Entra: Documented
  4. Saviynt: Documented
  5. Auth0 (as resource app): Documented

Updated

TIE-AGT-002Agent identityDelegation and authorisation

On-behalf-of delegation: the user as subject, the agent as actor

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.

  • Agents using human or shared credentials
  • Accountability for AI actions
  • Over-privileged agents
Reference build
  1. Ping: Reference build
  2. Okta: Documented
  3. Entra: Documented
  4. Saviynt: Documented
  5. Other: Not available

Updated