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

34 patterns

AGT-056Agent identityIdentity and ownership

Show people when they are dealing with an agent: disclosure and verifiable agent identity

Make sure the people and systems your agents deal with can tell that they are dealing with an AI agent, on whose behalf it acts, and that the claim is genuine, by disclosing it in every channel, labelling agent accounts and messages, never letting agents pass as a named person, and signing what agents send so recipients can check it.

  • Transparency obligations for AI systems
  • Agents impersonating people
  • Phishing that imitates your agents
Documented
  1. Ping: Documented
  2. Okta: Documented
  3. Entra: Documented
  4. Saviynt: Documented
  5. Agent credentials and C2PA content credentials: Documented

Updated

AGT-055Agent identityDelegation and authorisation

Agent-initiated payments: what merchants and banks need to verify

Help merchants, payment providers and card issuers accept payments that AI agents make for customers, by checking four things on every agent payment: that the agent is a known one, that this customer authorised this agent, that the purchase matches what the customer asked for, and whether the customer was present, with stronger checks when any answer is uncertain.

  • Agentic commerce
  • Fraud through agents
  • Disputes over what the customer asked for
Documented
  1. Ping: Documented
  2. Okta: Documented
  3. Entra: Documented
  4. Saviynt: Not available
  5. Payment network and provider agent programmes: Documented

Updated

AGT-054Agent identityCustomer identity

Voice and chat agents that verify customers

Let AI voice and chat agents in contact centres serve customers who must prove who they are, by making verification a trusted system step rather than a judgement the model makes, preferring confirmation in the customer's own app, limiting every action to the verified customer's records and matching each action to the assurance it needs.

  • Account takeover through the contact centre
  • Deepfake voices defeating voice checks
  • Social engineering of AI agents
Documented
  1. Ping: Documented
  2. Okta: Documented
  3. Entra: Documented
  4. Saviynt: Not available
  5. Salesforce Agentforce customer verification: Documented

Updated

AGT-053Agent identityWorkforce agents

AI agents that administer your identity platform: guardrails for agents in the IAM team

Let identity teams use AI agents and admin MCP servers to report on, tune and change their identity platforms, without handing a language model super-admin rights, by starting read-only, giving the agent its own narrow admin identity, routing every change through review, and protecting the accounts and policies that keep everyone else safe.

  • Super-admin rights for AI tools
  • Mass lockout from one bad change
  • Prompt injection through directory data
Documented
  1. Ping: Documented
  2. Okta: Documented
  3. Entra: Documented
  4. Saviynt: Documented
  5. Terraform for identity configuration: Documented

Updated

AGT-052Agent identityGovernance

Agents built into the SaaS platforms you already run

Bring the AI agents that SaaS vendors ship inside their platforms, such as Agentforce, ServiceNow, Copilot Studio and Workday agents, under the same ownership, least-privilege and review controls as your own agents, by knowing how each one acts, whose permissions it uses and where its record lives.

  • Agents outside central IAM
  • Over-permissioned SaaS agent users
  • Shadow agents built by business teams
Documented
  1. Ping: Documented
  2. Okta: Documented
  3. Entra: Documented
  4. Saviynt: Documented
  5. SailPoint Agentic Fabric: Documented

Updated

AGT-046Agent identityData access

Control who can read what an agent remembers

Treat an agent's memory as data with an owner and access rules: partition it by person, tenant and agent, check access on every read and write using the caller's identity, keep sensitive data out or labelled, guard against poisoned memories, and honour retention and deletion duties.

  • Data leakage between users and tenants
  • Memory poisoning
  • Privacy and erasure requests
Documented
  1. Ping: Documented
  2. Okta: Documented
  3. Entra: Documented
  4. Saviynt: Not available
  5. Amazon Bedrock AgentCore Memory fine-grained access control: Documented

Updated

AGT-045Agent identityDelegation and authorisation

Let customers connect their own AI assistants to your service

Let customers use the AI assistants they already have to check orders, manage bookings or move money with your service, through an authorisation flow they understand, with scopes they choose, limits you set, and a place to see and revoke every connected assistant.

  • Agentic commerce
  • Customer experience through AI assistants
  • Credential sharing with third-party tools
Documented
  1. Ping: Documented
  2. Okta: Documented
  3. Entra: Documented
  4. Saviynt: Not available
  5. MCP authorisation specification and assistant connector directories: Documented

Updated

AGT-044Agent identityIncident response

Detecting compromised or misbehaving agents

Notice quickly when an agent's identity is stolen, its credentials are used from somewhere unexpected, or its behaviour drifts from its purpose, by baselining each agent, collecting identity, gateway and runtime signals in one place, sharing risk between systems, and responding automatically in proportion to risk.

  • Agent credential theft
  • Prompt injection and goal hijack
  • Data exfiltration by agents
Documented
  1. Ping: Documented
  2. Okta: Documented
  3. Entra: Documented
  4. Saviynt: Documented
  5. SIEM, SOAR and Shared Signals: Documented

Updated

AGT-043Agent identityCredentials

Just-in-time privileged access for agents

Give agents that must perform administrative or high-impact work no standing privilege: they request elevation for a specific task, receive it for minutes through a vault or broker with approval where the tier requires, act through a recorded path, and lose it automatically.

  • Standing admin access for automation
  • Privileged credential exposure
  • Lateral movement by compromised agents
Documented
  1. Ping: Documented
  2. Okta: Documented
  3. Entra: Documented
  4. Saviynt: Documented
  5. CyberArk Secure AI Agents and cloud-native ephemeral credentials: Documented

Updated

AGT-042Agent identityCredentials

Agents on people's own machines: coding assistants and other local agents

Give agents that run on laptops and workstations, such as coding assistants and desktop agents, identities and credentials that fit where they run: public-client sign-in with short-lived, device-held tokens, no personal access tokens or cloud keys in files, consent before local servers run, and the same controls on what they reach as any other agent.

  • Secrets on developer machines
  • Coding agents with broad repository access
  • Shadow AI on endpoints
Documented
  1. Ping: Documented
  2. Okta: Documented
  3. Entra: Documented
  4. Saviynt: Documented
  5. Source platform and cloud short-lived tokens: Documented

Updated

AGT-036Agent identityGovernance

Separation of duties for AI agents

Stop agents from completing both sides of a sensitive process, approving their own work, or changing the controls that govern them, by applying separation of duties to agents' entitlements, to agents and the people behind them, to each transaction, and to the control plane.

  • Fraud
  • Segregation of duties compliance
  • Self-approval
Documented
  1. Ping: Documented
  2. Okta: Documented
  3. Entra: Documented
  4. Saviynt: Documented
  5. Transaction SoD in Cedar, OPA or AuthZEN decision points: Documented

Updated

AGT-035Agent identityDelegation and authorisation

Agent-to-agent trust across organisations

Let agents from partner organisations call your agents and APIs, and yours call theirs, with the same assurance you expect from federated single sign-on: each side knows which organisation and which agent is calling, for whom, with what authority, and can stop it.

  • Partner and supplier integration
  • Cross-organisation automation
  • Third-party agent risk
Documented
  1. Ping: Documented
  2. Okta: Documented
  3. Entra: Documented
  4. Saviynt: Documented
  5. A2A signed Agent Cards, identity chaining and SPIFFE federation: Documented

Updated

AGT-034Agent identityRuntime authorisation

Recognise and verify AI agents that visit your website or API

Tell trustworthy AI agents from impersonators and malicious bots, and tell who operates an agent from who authorised it, by verifying signed agent requests at the edge, scoring behaviour, and requiring delegated authorisation from the customer for anything beyond public content.

  • Bot fraud and scraping
  • Agentic commerce
  • Impersonation of known agents
Documented
  1. Ping: Documented
  2. Okta: Documented
  3. Entra: Documented
  4. Saviynt: Not available
  5. Cloudflare, AWS WAF and payment network agent protocols: Documented

Updated

AGT-033Agent identityCredentials

Browser and computer-use agents: their own identity, not the person's session

Let agents that operate a browser or a desktop work for people without borrowing the person's signed-in sessions and saved passwords, so every action is attributable to the agent, credentials never reach the model, and sensitive steps still need the person.

  • Attribution of agent actions
  • Prompt injection from web pages
  • Credential exposure to models
Documented
  1. Ping: Documented
  2. Okta: Documented
  3. Entra: Documented
  4. Saviynt: Not available
  5. 1Password agentic autofill: Documented

Updated

AGT-032Agent identityCredentials

Token vault: agents call other apps without holding people's tokens

Let agents call third-party and internal APIs on a person's behalf without ever storing, seeing or passing on that person's long-lived tokens, by keeping refresh tokens in a vault or broker that issues short-lived, narrowly scoped access, or injects it at a gateway.

  • Token theft
  • Credential leakage through prompts and logs
  • Consent sprawl
Documented
  1. Ping: Documented
  2. Okta: Documented
  3. Entra: Documented
  4. Saviynt: Not available
  5. Auth0 Token Vault: Documented

Updated

AGT-026Agent identityRuntime authorisation

Context-aware access for agents: runtime, network and risk

Grant agents access only from the runtimes and networks they are supposed to run in, and only while their risk is acceptable, by checking those signals when tokens are issued, when requests arrive and, where possible, continuously.

  • Credential theft by prompt injection
  • Rogue or compromised agents
  • Shadow AI
Documented
  1. Ping: Documented
  2. Okta: Documented
  3. Entra: Documented
  4. Saviynt: Documented
  5. Cloud workload identity, private endpoints and SPIFFE: Documented

Updated

AGT-025Agent identityAudit and evidence

Attributable audit trail for agent actions

Record every consequential agent action so that anyone investigating can answer who asked, which agent acted, through which chain, under which policy and approval, with which credential, on what, and with what result, from logs that cannot be quietly altered.

  • Audit evidence for AI governance
  • Incident investigation
  • Accountability for AI actions
Documented
  1. Ping: Documented
  2. Okta: Documented
  3. Entra: Documented
  4. Saviynt: Documented
  5. OpenTelemetry generative AI conventions: Documented

Updated

AGT-024Agent identityDelegation and authorisation

Multi-hop delegation across agents

When agents call other agents and tools on a person's behalf, keep the person and every agent in the chain visible to each system, shrink authority at every hop, cap the chain's depth, and never forward a token to an audience it was not issued for.

  • Agent-to-agent calls
  • Privilege escalation through delegation
  • Confused deputy
Documented
  1. Ping: Documented
  2. Okta: Documented
  3. Entra: Documented
  4. Saviynt: Documented
  5. Transaction Tokens and A2A: Documented

Updated

AGT-023Agent identityDelegation and authorisation

Bounded mandates: delegate to agents within limits the user sets

Let a person give an agent a standing, explicit mandate (what it may do, up to what amount, with whom, until when) that is stored as a grant, enforced on every action outside the agent, visible to the person and revocable at any time.

  • Excessive agency
  • Approval fatigue
  • Fraud through AI agents
Documented
  1. Ping: Documented
  2. Okta: Documented
  3. Entra: Documented
  4. Saviynt: Documented
  5. Auth0 Rich Authorization Requests; AP2 for cross-organisation mandates: Documented

Updated

AGT-022Agent identityHuman oversight

Customer confirmation of agent actions on a second device

When a customer-facing agent wants to do something consequential on a customer's account, ask the customer to confirm that exact action on a trusted device they already use, out of band, and let the API act only on a token that carries the confirmed details.

  • Irreversible agent actions
  • Fraud through AI agents
  • Accountability for AI actions
Documented
  1. Ping: Documented
  2. Okta: Documented
  3. Entra: Not available
  4. Saviynt: Not available
  5. Auth0 for AI Agents (asynchronous authorisation): Documented

Updated

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

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

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

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

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

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

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

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

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