View Secret Details

This section explains how to view Secret details.

Prerequisites

You should join a cluster and have the Project Resource Viewing permission within the cluster. For more information, refer to “Cluster Members” and “Cluster Roles”.

Steps

  1. Log in to the KubeSphere web console with a user who has the Project Resource Viewing permission, and access your cluster.

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

  3. Click the name of a Secret in the list to open its details page.

  4. View the resource attributes of the Secret in the Attributes area on the left side of the Secret details page.

    ParameterDescription

    Cluster

    The cluster to which the Secret belongs.

    Project

    The project to which the Secret belongs.

    Type

    The type of the Secrets.

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

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

    • Image registry information: Used to store information for accessing image registries.

    • 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 on the right side of the Secret details page, view the key-value pair data stored in the Secret.

    Tip

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