serviceaccount
The describe serviceaccount command retrieves detailed information about a specific Service Account (SA) in the Kubernetes cluster. This includes metadata, associated secrets, roles, and permissions.
Usage
cldkctl describe serviceaccount [name] [flags]Steps
Follow the steps below to run and view the result of this command:
Run the following command in your terminal:
./cldkctl describe serviceaccount [name] Replace [name] with the Service Account name you want to inspect.
To view the resource name, refer to the corresponding get serviceaccount section.
If the resource is located in a non-default namespace, include the
-nor--namespaceflag followed by the namespace name.
./cldkctl describe [resource] [name] -n [namespace]Once completed successfully, the detailed information about the specified Service Account will appear in your terminal. The output includes metadata, namespace, UID, and creation timestamp.

The following table describes the additional fields specific to the ServiceAccount resource.
metadata.name
The name of the Service Account.
metadata.namespace
The namespace where the Service Account is located.
metadata.uid
A unique identifier automatically assigned to the Service Account.
metadata.resourceVersion
Internal version number for tracking changes to this resource.
metadata.creationTimestamp
The date and time when the Service Account was created.
Flags
-h, --help
Help for describe command.
Last updated
