Create Service Accounts

This section explains how to create a service account.

Prerequisites

You should join a project and have the Service Account Management permission within the project. For more information, refer to “Project Members” and “Project Roles”.

Steps

  1. Log in to the KubeSphere web console with a user who has the Service Account Management permission, and access your project.

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

  3. In the Service Accounts list page, click Create.

  4. In the Create Service Account dialog, set the information for the service account, and then click Create.

    ParameterDescription

    Name

    The name of the service account. Service account names within the same project must be unique. Names can only contain lowercase letters, numbers, and hyphens (-), must start and end with a lowercase letter or number, and have a maximum length of 63 characters.

    Alias

    The alias of the service account. Aliases can be the same for different service accounts. Aliases can only contain Chinese characters, letters, numbers, and hyphens (-), and must not start or end with a hyphen (-), with a maximum length of 63 characters.

    Project

    The project to which the service account belongs.

    Description

    The description of the service account. Descriptions can contain any characters, with a maximum length of 256 characters.

    Project Role

    The role of the service account in the project. The role determines the permissions of the service account in the project.

    The service account will appear in the service account list after creation.