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
-
Log in to the KubeSphere web console with a user who has the Service Account Management permission, and access your project.
-
Click Configuration > Service Accounts in the left navigation pane.
-
In the Service Accounts list page, click Create.
-
In the Create Service Account dialog, set the information for the service account, and then click Create.
Parameter Description 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.
Feedback
Was this page Helpful?
Receive the latest news, articles and updates from KubeSphere
Thanks for the feedback. If you have a specific question about how to use KubeSphere, ask it on Slack. Open an issue in the GitHub repo if you want to report a problem or suggest an improvement.