This section describes how to view Secret details.

Prerequisites

You need to be a member of a cluster and have the cluster-viewer role within the cluster.

Steps

  1. Log in to the KubeSphere web console as a user with the cluster-viewer role and navigate to your cluster.

  2. Click Configuration > Secret in the left navigation pane.

  3. In the Secret list, click the name of a Secret to open its details page.

  4. On the Secret details page, view the resource attributes of the Secret in the Attributes area.

    Parameter Description

    Cluster

    The cluster to which the Secret belongs.

    Project

    The project to which the Secret belongs.

    Type

    Types of Secrets.

    • Default: The default Secret type, used to store user-defined data.

    • TLS Information: Used to store TLS certificates and private keys.

    • Image Service Information: Used to store image service access information.

    • Username and Password: Used to store usernames and passwords.

    Creation Time

    The creation time of the Secret.

    Creator

    The user who created the Secret.

  5. On the Data tab, view the key-value pair data stored in the Secret.

    Tip

    Secrets use Base64 data encoding. Click eye/eye-closed in the upper right corner of the Data tab to show/hide the data in plaintext.