Join our Newsletter — 33% off our NHI Course
Home› Guides› Cross-organisation agent trust: Letting partner AI agents act…
Guide Agent Identity & Access

Cross-organisation agent trust: Letting partner AI agents act in your systems safely

← All guides
By NHI Mgmt Group, edited by Lalit Choda Updated 28 October 2026 11 min read
On this page

Partner, supplier and customer AI agents are starting to call your APIs, read your data and take actions in your systems, and most organisations are trusting them with the same static API keys and broad OAuth grants they once gave to integrations. An agent from another organisation is a non-human identity you did not issue, running code you cannot inspect, often acting for a user you do not know. The question is not whether to let it in but how: which trust pattern proves where it came from, how its authority is scoped and attenuated, what you log, what the contract says and how you cut it off. This guide is for IAM architects, API owners and third-party risk teams setting up inbound agent access. Protocol mechanics are covered in the Agent-to-Agent Authentication Guide and the OAuth Identity and Authorization Chaining Across Domains Guide; this page covers the trust decision and how to run it.

Key takeaways

  • Trust the partner's identity system, not a shared secret. Federation, where your authorisation server validates tokens issued by the partner's, beats static keys because nothing long-lived crosses the boundary.
  • Issue your own token at your edge. Exchange whatever the partner presents for a short-lived token your authorisation server issues, scoped to one audience, so your resource servers never accept foreign tokens directly.
  • Record both actor and subject. Tokens and logs should show the partner agent and, where relevant, the user it acts for, using the RFC 8693 act claim or an equivalent.
  • Bind and limit. Sender-constrained tokens (DPoP or mutual TLS), narrow scopes, rate limits and per-partner quotas reduce the damage when a partner is compromised.
  • Plan the breakup on day one. One switch per partner that stops new tokens and invalidates existing ones, tested before go-live.

What makes a partner agent different

  • Unknown runtime: you cannot see the model, prompts, tools or memory behind the agent, so you cannot assume it resists prompt injection. Treat every request as possibly steered by content the partner's agent read elsewhere.
  • Delegated and chained authority: the agent may act for its own organisation, for one of its users, or for one of your users who delegated to it. Each needs a different token and a different policy.
  • Inherited compromise: if the partner is breached, the attacker holds the partner's trust. The Salesloft Drift Breach 2025 showed this: stolen OAuth tokens let an attacker call Salesforce APIs as the trusted Drift integration, and Google's threat intelligence group reported over 700 potentially affected organisations. ATT&CK tracks the pattern as T1199 Trusted Relationship.
  • Speed and volume: agents make far more calls than human-driven integrations, so per-request approval does not scale and rate limits matter.

Trust patterns compared

PatternHow it worksStrengthsWeaknessesUse when
Static API key or client secretYou issue a key; the partner stores itSimple; works everywhereLong-lived, bearer, shared across the partner's agents; leaks are commonLow-risk, read-only, short pilots only
OAuth client credentials in your authorisation serverPartner is a registered client; gets short-lived tokensShort-lived tokens, scopes, central revocationClient secret or key is still a long-lived credential at the partnerPartner agent acting for itself, with a private key JWT or mTLS client authentication
Workload identity federationYour IdP trusts tokens from the partner's IdP by issuer, subject and audienceNo secret crosses the boundary; partner's own controls issue identityDepends on partner's issuer security; subject naming must be agreedPartner runs on a cloud or platform with an OIDC issuer
Cross-domain identity chainingPartner's authorisation server issues a JWT authorisation grant for your authorisation server, which issues your tokenCarries user context across domains; claims can be transcribed and downscopedNeeds both authorisation servers to support it; specification still finishingPartner agent acting for a user across organisations
SPIFFE federation with mTLSEach trust domain publishes a bundle; workloads verify each other's SVIDsStrong workload identity, automatic rotationBoth sides must run SPIFFE; service-to-service, not user contextTightly integrated partners and platform-to-platform links
Cloud cross-account rolePartner assumes a role in your accountNative logging and policyConfused deputy risk if the role is not bound to the partner's external IDPartner agent operating your cloud resources

Mechanics worth getting right

  • Federated credentials: in Microsoft Entra workload identity federation, the federated identity credential's issuer, subject and audience must match the external token case-sensitively. Pin the subject to the specific partner workload, not a wildcard. See the Workload Identity Federation Guide.
  • Token exchange: RFC 8693 token exchange (grant type urn:ietf:params:oauth:grant-type:token-exchange) lets your authorisation server swap the partner's token for one of yours. The act claim identifies the current actor; nested act claims are history, and RFC 8693 says only the top-level claims and current actor should drive access control. See the OAuth Token Exchange and Delegation Guide.
  • Identity chaining: draft-ietf-oauth-identity-chaining-17 (19 July 2026, in the RFC Editor queue when checked on 28 October 2026) combines token exchange at the partner's authorisation server with an RFC 7523 JWT grant at yours, and allows claims transcription to map identifiers, remove claims and downscope. Details can still change before RFC publication.
  • AWS roles: require sts:ExternalId in the trust policy. AWS documents that the third party generates a unique external ID per customer, which stops another customer of the same partner pointing the partner's agent at your role.
  • A2A agents: A2A 1.0 lets an Agent Card declare security schemes (API key, HTTP authentication, OAuth 2.0, OpenID Connect, mutual TLS). Servers must reject missing or invalid credentials and must not reveal resources the caller cannot access. Prefer OAuth or mTLS schemes for partner agents. See the A2A Protocol Security Guide.
  • Sender constraint: DPoP (RFC 9449) binds access and refresh tokens to the client's key through the cnf jkt claim, so a token stolen from the partner is useless without the private key. mTLS certificate-bound tokens (RFC 8705) give the same property at the transport layer.

Scoping what a partner agent may do

ControlSettingWhy
AudienceOne resource server per tokenA token for your orders API cannot be replayed at your HR API
ScopeNamed actions, no wildcards; read and write separateLimits what a steered or compromised agent can do
Token lifetimeMinutes, not hours; no refresh tokens unless neededBounds the window after a partner compromise
Data filterOnly the partner's own records or the delegating user's recordsStops cross-tenant reads if authorisation logic fails
Rate and volume limitsPer partner and per agentBulk export was the core of the Drift data theft
High-impact actionsRequire a human approval in your system or a separate tokenThe partner's own approvals are invisible to you
NetworkPartner egress IP ranges or private connectivity where availableRaises the cost of using stolen tokens

Onboarding a partner agent

  1. Classify the use case: agent acting for the partner, for the partner's users, or for your users. Each determines the trust pattern and whether user consent is needed.
  2. Run a third-party assessment that covers the agent: who operates it, which model and tools it uses, how it handles prompt injection, how it stores your tokens, its incident contact and notification commitment. The Know Your Agent (KYA) Guide lists verification questions.
  3. Agree identity details in writing: issuer URL, subject naming, audience, key rotation, and the claims each side will send and accept.
  4. Register the partner agent as an NHI in your inventory with an internal owner, partner contact, scopes, expiry date and review date.
  5. Configure the trust using the pattern chosen above, with token exchange at your edge and sender-constrained tokens where both sides support them.
  6. Test in a sandbox tenant: wrong audience, expired token, revoked partner, over-scoped request, other partner's data, and burst traffic. All must fail safely.
  7. Test the off switch: disable the federation or client, confirm new tokens fail and measure how long existing tokens keep working.
  8. Go live with monitoring and a first access review within 90 days.

Contract and governance terms

  • Notification: the partner tells you within an agreed number of hours of any compromise of the agent, its credentials or its identity provider.
  • Change notice: advance notice of changes to the agent's model, tools or autonomy level that affect what it does in your systems.
  • Credential handling: tokens stored in a vault, never in prompts, logs or agent memory; no sharing between agents.
  • Logging: the partner keeps run and tool call logs for agent actions in your systems and provides them on request during an incident.
  • Termination: your right to suspend access immediately, and the partner's duty to delete your data and tokens.

NIST CSF 2.0 GV.SC-05 expects these supply chain requirements to be written into contracts, and NIST SP 800-53 SA-9 covers external system services.

Detection and measurement

  • Log every partner token issuance with partner, agent, subject, actor, scopes and source IP, and every API call with the same identifiers.
  • Alert on: token use from outside the partner's agreed network ranges, volume above the partner's baseline, access to records outside the partner's filter, new scopes requested, and failed audience or signature checks.
  • Watch the partner's identity configuration: changes to federated credentials, trusted issuers or client keys on your side are high-value events.
MetricTarget direction
Partner agents using federation or token exchange rather than static keysUp
Partner agents with an owner, expiry and review date in the inventory100 percent
Median partner token lifetimeDown
Time to fully cut off a partner in a drillDown
Partner access reviews completed on timeUp

Framework mapping

FrameworkReferenceRelevance
NIST CSF 2.0GV.SC-05, PR.AA-01, PR.AA-03, PR.AA-05, DE.CM-06Contract requirements; managing and authenticating external identities; monitoring external providers
NIST SP 800-53 Rev. 5IA-8, IA-9, AC-6, AC-20, CA-3, SA-9Non-organisational users and services, least privilege, external systems, information exchange
ISO/IEC 27001:2022 Annex A5.19, 5.20Supplier relationships and security in supplier agreements
OWASP Top 10 for Agentic ApplicationsASI03, ASI07Identity and privilege abuse; insecure inter-agent communication
MITRE ATT&CKT1199, T1528, T1550.001Trusted relationship abuse; stolen and reused application access tokens

Common failure patterns

  • One key for all of a partner's agents: no attribution, and revoking it breaks every integration at once.
  • Accepting the partner's tokens directly at resource servers: your APIs then depend on another organisation's token format, audience handling and revocation.
  • Wildcard federation subjects: trusting any workload from the partner's issuer rather than the specific agent.
  • "Full access" grants to small AI vendors: in the Vercel Context.ai OAuth Breach 2026, an employee's broad Google Workspace grant to a third-party AI app became the attacker's route in.
  • No volume limits: bulk export through a trusted integration looked like normal use until it was too late.
  • No expiry or review: partner agents outlive the project, the contract and the people who approved them.

Practitioner checklist

  • Inventory every external agent and integration that calls your systems, with owner, partner contact, credential type and scopes.
  • Replace static keys with federation or OAuth client credentials using private key JWT or mTLS.
  • Exchange partner tokens for your own short-lived, single-audience tokens at the edge.
  • Carry actor and subject in tokens and logs for agents acting on behalf of users.
  • Use sender-constrained tokens (DPoP or mTLS) where both sides support them.
  • Set per-partner rate limits, data filters and human approval for high-impact actions.
  • Write notification, change, logging and termination terms into the contract.
  • Test the per-partner off switch before go-live and in every annual exercise.
  • Review each partner agent's access at least every 90 days and remove unused scopes.

Standards and references

Related NHI Mgmt Group resources: Agent Identity and Access Guide · Enterprise-Managed Authorisation for AI Agents (ID-JAG and Cross App Access) · Delegation Chains and Attenuated Authority for AI Agents · Federation and Trust Relationships Guide · MITRE ATT&CK T1199 Trusted Relationship Guide

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Researched and written by the NHI Mgmt Group editorial team using AI tools, under the editorial direction of Lalit Choda. Facts are drawn from the sources listed on this page and checked by our automated quality process. Last updated 28 October 2026. Spotted an error? Use our contact page.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM and Agentic AI security. nhimg.org