View Service Account Details
This section explains how to view details of a service account.
Prerequisites
You should join a project and have the Service Account Viewing 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 Viewing permission, and access your project.
Click Configuration > Service Accounts in the left navigation pane.
Click the name of a service account in the list to open its details page.
View the resource attributes of the service account in the Attributes area on the left side of the service account details page.
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 in its associated project.
Creation Time
The creation time of the service account.
Creator
The user who created the service account.
View the authentication information and corresponding kubeconfig information of the service account on the Data tab on the right side of the service account details page.
In the Data Settings area, click on / in the upper right corner to display/hide the authentication information in plaintext.
In the kubeconfig Settings area, click on in the upper right corner to copy the kubeconfig information. Click on to download the kubeconfig.yaml file.
Note The kubeconfig information contains the authentication details for the service account. You need to configure this kubeconfig information in your application to enable access to the KubeSphere cluster. For more information, refer to the Kubernetes Documentation.
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.