Permissions
Every operation an IAM credential performs is authorized by an explicit permission grant. Grants are strings with up to three segments:
<app>:<feature>[:<action>]For GraphQL — which is the entire public API surface — the segments are standardized, so you can always derive the required grant from the operation you want to call:
<app>:query:<fieldName> e.g. support:query:tickets<app>:mutation:<fieldName> e.g. pay:mutation:createInvoiceEvery page in the API reference states the exact permission its operation requires.
Wildcards
Section titled “Wildcards”The final segment of a grant may be *:
| Grant | Meaning |
|---|---|
support:query:tickets |
Exactly one query. |
support:query:* |
Every query on the Support API. |
support:* |
Everything on the Support API (queries and mutations). |
Wildcards are only valid as the last segment — support:*:tickets is
rejected. Prefer the narrowest grant that works: keys for a dashboard
integration rarely need mutations at all.
Limits and validation
Section titled “Limits and validation”- The
<app>segment must be a real product key from the suite’s application catalog (the services listed in the API reference). - An identity may hold at most 100 permissions, totaling at most 4096 characters.
- Grants are validated when you save them — typos in app names fail fast, not silently at call time.
How enforcement works
Section titled “How enforcement works”Permission checks happen in two places, and both must pass:
- Token minting. The token exchange filters your key’s grants to the
requested
audienceand rejects the exchange entirely if none match (invalid_scope). An optionalscoperequest parameter narrows further — see Authentication. - Every GraphQL request. Each API guards every root operation before any resolver runs. An IAM token must carry the operation’s named permission (directly or via wildcard) or the request fails with an authorization error. Resolvers then apply normal organization scoping and business rules on top — a grant never bypasses those.
Users, keys, and the intersection rule
Section titled “Users, keys, and the intersection rule”Permissions attach at two levels:
- the IAM user — the identity’s full grant list, managed by your org admins; and
- each API key — optionally a subset of its user’s grants, so different systems can hold differently-scoped keys for the same identity.
A key’s effective permissions are always the intersection of its own grants and its parent IAM user’s current grants. Narrow the user and every key narrows with it, even keys issued earlier with broad wildcards. This makes the IAM user page the single place to audit and reduce an integration’s blast radius.
Recommended patterns
Section titled “Recommended patterns”- One IAM user per integration (
ticket-sync-bot,invoice-exporter), not one shared super-identity — audit logs attribute actions per identity. - Grant operations, not apps. Start from the exact reference pages you
call; reach for
:*wildcards only for genuinely broad tooling. - Separate read from write. Issue a read-only key
(
support:query:*) for reporting and a separate key holding specific mutations for the writer path. - Rotate on schedule. Rotation is cheap: one exchange call later, the new secret is live and the old one is dead.