Modify Service Account Role
Time updated:2025-12-22 09:26:17
This section describes how to modify service account roles.
You can control the permissions of a service account by assigning roles to it, enabling the service account to access specific resources and perform specific operations.
Prerequisites
You need to be a member of a cluster and have the cluster-admin role in the cluster.
Steps
-
Log in to the KubeSphere web console as a user with the cluster-admin role and go to your cluster.
-
Click Configuration > Service Accounts in the left navigation pane.
-
On the right side of the service account you need to operate, click
, then select Edit Role from the dropdown list.
-
In the Edit Role dialog box, select a project role from the dropdown list, then click OK.