Manage Resource Servers
A resource server in Choreo Identity & Access Management represents an API, service, or application that defines the permissions your users and clients can request. Before you assign permissions to users through roles, you define those permissions by creating resource servers with resources and actions.
Prerequisites
- You can sign in to the Choreo Identity & Access Management Console.
- A project for the resource server. See Work in a Project.
Understanding the Permission Model
Choreo Identity & Access Management derives permission strings from a three-level hierarchy:
Resource Server (identifier: "https://api.example.com/booking", delimiter: ":")
├── Action: "list" → Permission: "list"
└── Resource: "reservations"
├── Action: "create" → Permission: "reservations:create"
├── Action: "view" → Permission: "reservations:view"
└── Resource: "online"
└── Action: "create" → Permission: "reservations:online:create"
Permission strings use one of two forms. Flat permissions, for server-level actions, are just the action handle (for example, list). Hierarchical permissions join the resource handles and the action handle with the delimiter (for example, reservations:create). Permission strings are not prefixed by the resource server; the resource server is identified by its Identifier, which becomes the access token audience.
- Resource Server: container for all resources and actions. Requires a unique Identifier. When the identifier is an absolute URI, the resource server is used in resource indicator flows (RFC 8707). An MCP resource server's identifier must be an
httporhttpsURL. - Resource: a named entity within a resource server. Resources can nest to form hierarchies.
- Action: an operation that can be performed. Actions can exist at the resource server level (global) or within a specific resource.
Create a Resource Server
- Select your project in the project switcher in the header.
- Go to Resource servers and click Add resource server.
- If the Console asks you to Choose an organization unit, select one and click Continue. The Console asks only when there is more than one place to put the resource server.
- Select the type of resource server, API, MCP, or Custom, and click Continue.
- Enter a Resource server name, such as
Booking API, and an Identifier, such ashttps://api.example.com/booking. Click Continue. - On Configure permission settings, choose a Permission delimiter. To have a granted permission also grant the permissions beneath it, select Use hierarchy-aware matching.
- Click Create resource server. For an MCP server, the button is Create MCP server.
The Console opens the new resource server on its Resources tab, where you define its permissions. To add a description, click the edit icon next to No description under the resource server's name, enter the description, and click Save in the unsaved-changes bar.
Field Reference
| Field | Required | Description |
|---|---|---|
| Type | Yes | API for REST or HTTP APIs, MCP for Model Context Protocol servers, or Custom for any other protected resource. Cannot be changed after creation. |
| Resource server name | Yes | Display name for the resource server. Must be unique. For an MCP server, the field is MCP server name. |
| Identifier | Yes | Unique identifier for the resource server. When set to an absolute URI (for example, https://api.example.com/booking), the resource server is used in RFC 8707 resource indicator flows and the identifier becomes the access token audience claim value. For an MCP resource server, the identifier must be an http or https URL with no fragment, such as https://mcp.example.com/mcp. |
| Make this the default resource server | No | Shown for API and custom resource servers. When an application requests a token without naming a resource server, its permissions come from the default one. Only one resource server can be the default at a time. Selected when no default is set yet. |
| Permission delimiter | Yes | Character that separates hierarchy levels in permission strings: Colon ( : ), Dot ( . ), Slash ( / ), Hyphen ( - ), or Underscore ( _ ). Defaults to the colon. Cannot be changed after creation. |
| Use hierarchy-aware matching | No | When selected, granting a permission also grants its descendants, including permissions added later. Your API or gateway must enforce this hierarchy using the selected delimiter. Cannot be changed after creation. |
The Permission delimiter and Use hierarchy-aware matching settings cannot be changed after creation. Plan them before you create the resource server.
Saving a change does not make it live. You author in the control plane, and your users sign in on a separate data plane, so a change takes effect in an environment only after you deploy it. Go to Deploy, deploy the latest version to your first environment, then promote it to the next environment when you are ready.
Auto-sync deploys saved changes to your first environment within seconds. Turning it on is your choice, per project. See Deploy a Version, or learn why you deploy and how auto-sync works.
Define Permissions
You define permissions by creating actions on the Resources tab of a resource server. Actions can exist at two levels: directly on the resource server (flat permissions) or on a resource within the server (hierarchical permissions). The Resource hierarchy panel lists both, and selecting an item shows its details beside the tree.
For an MCP resource server, this tab is Capabilities and holds tool and resource permissions. See Secure Your MCP Server.
Flat Permissions
Create actions directly on the resource server for simple, non-hierarchical permissions.
- Go to Resource servers and open the resource server.
- On the Resources tab, click the Add (+) icon in the Resource hierarchy header and select Add action.
- Enter a Name, such as
List Bookings. The Console fills in the Handle from the name. Change the handle tolist. - Optionally, enter a Description, such as
Permission to list all bookings. - Check the Permission string preview and click Add.
The resulting permission is list. A server-level action is just the action handle.
Hierarchical Permissions
For fine-grained access control, create resources first, then add actions to those resources.
1. Create a resource:
- On the Resources tab, click the Add (+) icon in the Resource hierarchy header and select Add resource.
- Enter
Reservationsas the Name. The Handle becomesreservations. - Click Add.
2. Add an action to the resource:
- In the Resource hierarchy, select the
Reservationsresource and click its Add (+) icon. - Select Add action.
- Enter
Create Reservationas the Name andcreateas the Handle. The Permission string preview showsreservations:create. - Click Add.
The resulting permission is reservations:create.
3. Create nested resources (optional):
Resources can nest to form deeper hierarchies.
- Select the
Reservationsresource, click its Add (+) icon, and select Add sub-resource. - Enter
Online Reservationsas the Name andonlineas the Handle. - Click Add.
Actions on this nested resource produce permissions like reservations:online:create.
A Handle can contain lowercase letters, numbers, and the characters . _ - : /, but not the resource server's delimiter. When the Console generates a handle from the name, it joins words with a hyphen, or with an underscore if the delimiter is a hyphen. To copy an item's permission string, select it in the tree and click the Copy permission string icon next to its name.
The Handle of a resource or action, and the resource it sits under, cannot be changed after creation.
Saving a change does not make it live. You author in the control plane, and your users sign in on a separate data plane, so a change takes effect in an environment only after you deploy it. Go to Deploy, deploy the latest version to your first environment, then promote it to the next environment when you are ready.
Auto-sync deploys saved changes to your first environment within seconds. Turning it on is your choice, per project. See Deploy a Version, or learn why you deploy and how auto-sync works.
View Resource Servers
Go to Resource servers. The list shows the Name, Type, and Identifier of each resource server, and marks the default one with Default. When a project is selected, the list shows that project's resource servers. Use the pagination controls to move through the list.
Click a resource server to open it:
- The Resources tab shows the resource hierarchy with its resources and actions.
- The Advanced tab shows the Permission matching (Hierarchical or Exact) and the Permission delimiter, which are read-only, and the Identifier (audience).
Update a Resource Server
You can update the name, description, and identifier. The type, Permission delimiter, permission matching, and organization unit cannot be changed.
- Go to Resource servers and open the resource server.
- To rename it, click the edit icon next to its name, enter the new name, and press Enter.
- To change the description, click the edit icon next to the description and enter the new text.
- To change the identifier, open the Advanced tab and edit Identifier (audience) under Configurations.
- Click Save in the unsaved-changes bar.
To make an API or custom resource server the default, click Set as default next to its name, then click Set as default in the dialog.
Saving a change does not make it live. You author in the control plane, and your users sign in on a separate data plane, so a change takes effect in an environment only after you deploy it. Go to Deploy, deploy the latest version to your first environment, then promote it to the next environment when you are ready.
Auto-sync deploys saved changes to your first environment within seconds. Turning it on is your choice, per project. See Deploy a Version, or learn why you deploy and how auto-sync works.
Delete a Resource Server
You must delete all resources and actions in a resource server before you can delete it.
- Go to Resource servers.
- In the resource server's row, click the Delete icon in the Actions column. Alternatively, open the resource server, go to the Advanced tab, and click Delete resource server under Danger zone.
- In the Delete resource server dialog, click Delete.
Deleting a resource server cannot be undone.
Saving a change does not make it live. You author in the control plane, and your users sign in on a separate data plane, so a change takes effect in an environment only after you deploy it. Go to Deploy, deploy the latest version to your first environment, then promote it to the next environment when you are ready.
Auto-sync deploys saved changes to your first environment within seconds. Turning it on is your choice, per project. See Deploy a Version, or learn why you deploy and how auto-sync works.
Manage Resources and Actions
Update a Resource or Action
You can update the Name and Description. The Handle and the parent resource cannot be changed.
- Go to Resource servers, open the resource server, and stay on the Resources tab.
- Select the resource or action in the Resource hierarchy. Its details, including its Permission, appear beside the tree.
- Edit the Name or Description.
- Click Save.
Delete a Resource or Action
- Go to Resource servers, open the resource server, and stay on the Resources tab.
- In the Resource hierarchy, select the resource or action and click its Delete icon.
The Console deletes the item as soon as you click the icon, without asking for confirmation. You must delete all sub-resources and actions within a resource before deleting it.
Saving a change does not make it live. You author in the control plane, and your users sign in on a separate data plane, so a change takes effect in an environment only after you deploy it. Go to Deploy, deploy the latest version to your first environment, then promote it to the next environment when you are ready.
Auto-sync deploys saved changes to your first environment within seconds. Turning it on is your choice, per project. See Deploy a Version, or learn why you deploy and how auto-sync works.
Best Practices
- Plan handle names before creation. The Handle on resources and actions cannot be changed, and neither can the resource server's Permission delimiter. Use lowercase with hyphens for readability (for example,
reservations,create). - Use absolute URIs as identifiers for RFC 8707. The Identifier accepts any string for API and custom resource servers, but only resource servers with absolute URI identifiers (such as
https://api.example.com/booking) are used in resource indicator flows. Set a URI identifier if you need audience-restricted access tokens. - Create one resource server per API boundary. Separate resource servers for different microservices or applications produce cleaner permission models and more targeted access tokens.
- Choose the delimiter before creation. The delimiter separates hierarchy levels in permission strings and cannot be changed. The colon (
:) is the most common choice.
Scope Resource Servers to a Project
For how projects work in the Console, see Projects.
A resource server belongs to the project selected in the header when you create it. If you choose Clear project selection before you create it, the resource server belongs to no project and stays available to every project.
Inside a project, the resource server goes in the system organization unit or in one of the project's own organization units. The Console asks you to choose only when the project has organization units of its own.
A project groups resource servers for management only. At runtime, a resource server is found by its Identifier whatever project it belongs to, so the identifier stays unique across all projects.
Next Steps
- Resource Indicators, request audience-restricted access tokens targeting specific resource servers.
- Organization Units, organize resource servers within organizational boundaries.
Was this page helpful?