RBAC and Permissions
RBAC in Kong Manager
In addition to verifying users and distinguishing Workspaces, Kong Enterprise has the ability to enforce role-based access control (RBAC) for all resources. For the Super Admin (or any role with read and write access to
/rbac), this ability entails permission to create new roles and customize permissions.
- Authentication is enabled, following the Getting Started guide
- RBAC is enabled
- Logged in as the Super Admin or a user that has
/rbacread and write access
Kong includes Role-Based Access Control (RBAC). Every admin using Kong Manager will need an assigned Role based on the resources they have permission to access.
When a Super Admin starts Kong for the first time, the
default Workspace will include three default Roles:
super-admin. The three Roles have permissions related to every Workspace in the cluster.
Similarly, if a Role is confined to certain Workspaces, the user assigned to it will not be able to see either the overview or links to other Workspaces.
For more information about RBAC Roles in Kong Enterprise as a whole, see the RBAC Overview
RBAC in Workspaces
RBAC Roles and permissions will be specific to a Workspace if they are assigned from within one. For example, if there are two Workspaces, "Payments" and "Deliveries", an Admin created in "Payments" will not have access to any endpoints in "Deliveries".
When a Super Admin creates a new Workspace, there are three default Roles that mirror the cluster-level Roles, and a fourth unique to each Workspace:
Your browser does not support the video tag. How to Create RBAC Roles for Admins in the New Workspace
On the "Admins" page, to create a new Role, click the "Add Role" button at the top right of the list of Roles.
On the "Add Role" form, name the Role according to the permissions you want to grant. Write a brief comment describing the permissions of the Role.
Click the "Add Permissions" button and fill out the form. Add the endpoint permissions by marking the appropriate checkbox.
Click "Add Permission to Role" to see the permissions listed on the form.
To forbid access to certain endpoints, click "Add Permission" again and use the "negative" checkbox.
See the new Role appear on the "Admins" page
read access to the home "
Next: Managing Admins ›