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 join a project and have the Service Account Management permission in the project. For more information, see Project Members and Project Roles.

Steps

  1. Log in to the KubeSphere web console with a user who has Service Account Management permissions and enter your workspace.

  2. Click Project Management > Service Accounts in the left navigation pane.

  3. Select a project from the drop-down list in the upper left corner of the page.

  4. On the right side of the service account you need to operate, click more, then select Edit Role from the dropdown list.

  5. In the Edit Role dialog box, select a project role from the dropdown list, then click OK.