iamops.dev Search
Argo on X RSS feed
ENEnglish

News Explainer · 4 minFor security leaders and architects

A badge for one door: Protected Resource Metadata and resource indicators explained

How an AI assistant learns where to get access for an app, and why each token should name the one app it is for. Protected Resource Metadata, no code.

Four steps: the expense app says which sign-in service it trusts, the assistant asks that service for access to the expense app, the token names the expense app, and the calendar app refuses that token.
TL;DRAn artificial intelligence (AI) assistant that meets a new app first…

A company gives its staff an artificial intelligence (AI) assistant. On Monday someone asks it to file last week’s taxi receipts in the expense app. The assistant has never used the expense app. It needs two things before it can do anything: to know where to ask for access, and to get access that works for the expense app and nothing else.

Think of an office building with many doors. Each door leads to one app. Badges come from a front desk, and there may be more than one desk in the building.

The app tells you where to go#

The assistant tries the expense app’s door without a badge. The door refuses, and points to a sign next to it. The sign says: this is the expense app, and badges for it come from the front desk on the ground floor.

That sign is Protected Resource Metadata, a short public file standardised in 2025 as Request for Comments (RFC) 9728 (RFCs are the internet’s standards documents). It names the app and the sign-in service it trusts. The assistant needs no list of apps and desks set up in advance. It reads the sign at each new door.

Ask for a badge for one door#

At the front desk the assistant says which door it wants: the expense app. This is called a resource indicator (RFC 8707). The desk checks that it knows that door, then prints a badge with the door’s name on it. In a token, that name is called the audience.

A desk that does not know the door refuses to print a badge. A desk that prints one badge for every door in the building makes the next step pointless.

Four steps: the expense app says which sign-in service it trusts, the assistant asks that service for access to the expense app, the token names the expense app, and the calendar app refuses that token.
One badge, one door. The name on the token decides where it works.

Every door checks the name#

The calendar app trusts the same front desk. If its door only checked that the badge is real, it would also open for the expense badge. And the expense app, which sees every badge the assistant shows it, could walk over to the calendar door with it.

So each door reads the name on the badge and refuses any other name. This is the step that gets forgotten. In the official Python toolkit for MCP servers (the Model Context Protocol that AI assistants use to call tools), the check exists but is off unless the developer turns it on, until version 3.0.

A fake door sign#

The sign is written by the door. A fake door, set up to look like a useful app, can put up a sign that points to a fake front desk. An assistant that believes it walks over and shows its own staff card, its client secret, to the fake desk.

The fix is on the assistant’s side: it knows which desks it trusts and refuses any sign that points somewhere else. The sign still saves it from configuring every door, but it never decides where the assistant’s secrets go.

Where this stands#

Both RFCs are published standards. The MCP specification requires servers to publish the sign and clients to name the door when they ask for a token. Support in identity products varies, especially for the per-door names, so test what yours issues.

My hands-on lab runs all of this with two MCP servers, a fake one and an agent, and shows a token for one server accepted by the other when the check is left off. For the next step, an MCP server that calls further services on the user’s behalf, see the lab on refusing token passthrough.

Sources#

Discuss this on X or LinkedIn

Follow on X

New posts by email

One email a week with new posts and labs. Unsubscribe anytime.

Your address is stored with Kit, which sends the emails. Details

Related research and labs

Type to search every page. Use the arrow keys to move through the results.

    Open the full search page