Change Service Account Role

This section explains how to change the role of a service account.

You can control the permissions of a service account by assigning roles, allowing the service account to access specific resources and perform particular operations.

Prerequisites

You should join a cluster and have the Project Resource Management permission within the cluster. For more information, refer to “Cluster Members” and “Cluster Roles”.

Steps

  1. Log in to the KubeSphere web console with a user who has the Project Resource Management permission, and access your cluster.

  2. Click Configuration > Service Accounts in the left navigation pane.

  3. On the right side of the service account that requires modification, click on more, and then select Change Role from the dropdown list.

  4. In the Change Role dialog, choose a project role from the dropdown list and click OK.