Create a Service Account
This section describes how to create a service account.
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
-
Log in to the KubeSphere web console with a user who has Service Account Management permissions and enter your workspace.
-
Click Project Management > Service Accounts in the left navigation pane.
-
Select a project from the drop-down list in the upper left corner of the page.
-
On the Service Account list page, click Create.
-
In the Create Service Account dialog box, set the information for the service account, then click Create.
Parameter Description Name
The name of the service account. Names must be unique within a project. The name can only contain lowercase letters, numbers, and hyphens (-). It must start and end with a lowercase letter or number, and have a maximum length of 63 characters.
Alias
A user-defined alias for the service account. Aliases can be the same across different service accounts.
Description
Description information for the service account. The description can contain any characters and has a maximum length of 256 characters.
Project Role
The role of the service account within the project. The service account’s role determines its permissions in the project.
After the service account is created, it will appear in the service account list.