View Service Account Details
This section describes how to view service account details.
Prerequisites
You need to join a cluster and have the cluster-viewer role within the cluster.
Steps
-
Log in to the KubeSphere web console as a user with the cluster-viewer role and enter your cluster.
-
Click Configuration > Service Accounts in the left navigation pane.
-
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.
-