Skip to content
Workforce IdentityMarkdown

Authorization

How a realm says who may do what, what each user, group and agent holds, and when an agent may act for a user.

Authorization is where you write down who may do what in your realm. Policies say who may take which action on which API address, MCP tool or other resource, and when. Entitlements say what a user, a group or an agent holds, and so which scopes and structured permissions their tokens may carry. When an agent acts for a user, both the user’s say-so and the realm’s own delegation policies must allow it.

The realm decides; something in front of your API says no. A policy is enforced by the gateway, or by your own API asking the realm, and both read the same policies and reach the same answer. Who may administer the realm itself is a separate right, kept apart from all of this: see delegated administration.

CapabilityWhat it gives you
PoliciesRules per resource type: who may take which action on which address, deny over allow (with limits)
Policy subjectsA rule for any signed-in caller, named users, agents or groups, or a token claim, combined with and, or, not
Policy conditionsA rule that holds only for a scope, a structured permission, an address range, a time window, or a sign-in of a given strength
Resource matchingAddresses matched segment by segment; tool and object names matched as a pattern
Answers that explain themselvesEvery refusal says why: denied, nothing allowed, undecided, or a policy left out
Policy checks on writeA policy that breaks its set’s or type’s rules is refused when you link it, and left out of decisions if it breaks them later
Test a policy safelyTry a rule in a set nothing enforces, and ask the realm what it would decide; there’s no report-only mode
CapabilityWhat it gives you
EntitlementsWhat a user, group or agent holds, each grant with an optional window
Governed scopesA scope an entitlement names is issued only to its holders
Rich authorization requestsAn entitlement bounds the exact actions a token may carry, such as a payment’s maximum
Issuance policyOne policy set asked before every token is issued
CapabilityWhat it gives you
Agents acting for usersAn agent acts for a user within a window and a scope ceiling they set
Delegation policiesThe realm’s own rules decide every delegation, beside the user’s say-so
Acting as a userA token that names only the user, where the realm and a policy both allow it

See What’s next for authorization: