Viewing a Secret Value
This section describes how to save and view secret values on the CSMS console.
You can create a new version of a secret to encrypt and keep a new secret value. By default, The latest secret version in SYSCURRENT state. The previous version is in the SYSPREVIOUS state.
Constraints
- A secret can have up to 20 versions.
- Secret versions are numbered v1, v2, v3, and so on based on their creation time.
Procedure
- Log in to the management console.
- Click
in the upper left corner of the management console and select a region or project.
- Click
. Choose .
- In the navigation pane, choose Cloud Secret Management Service.
- Click a secret name to go to the details page.
- In the Version List area, click Add Secret Version. Configure the secret key and value in the dialog box that is displayed.
Figure 1 Adding a secret value
- Click OK. A message is displayed in the upper right corner of the page, indicating that the value is added successfully.
View the latest secret value in the secret version list.
- In the Version List area, click View Secret in the Operation column of a secret.
Figure 2 Secret version list
- In the View Secret dialog box, click Yes.
Secret values are generally obtained via APIs. Checking the values on the console incurs security risks.
- View the secret value and click OK.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.