View Service Account Details
This section describes how to view service account details.
Prerequisites
You need to join a project and have the Service Account View 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 View 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.
-
In the service account list, click the name of a service account to open its details page.
-
On the Service Account details page, view the resource attributes of the service account in the Properties area.
Parameter Description Cluster
The cluster to which the service account belongs.
Project
The project to which the service account belongs.
Role
The role of the service account within the project.
Creation Time
The time when the service account was created.
Creator
The user who created the service account.
-
On the Data tab, view the authentication information of the service account and the corresponding kubeconfig information.
-
In the Data Settings area, click
/
in the upper right corner to show/hide the authentication information in plain text.
-
In the Kubeconfig Settings area, click
in the upper right corner to copy the kubeconfig information, and click
to download the kubeconfig.yaml file.
Note The kubeconfig information contains the authentication information of the service account. You need to configure the kubeconfig information in your application to allow the application to access the KubeSphere cluster. For more information, please refer to Kubernetes Official Documentation.
-