Creating a Secret
This section describes how to create a secret on the CSMS console.
You can create a secret and store its value in its initial version, which is marked as SYSCURRENT.
Constraints
- A user can create a maximum of 200 credentials.
- By default, the default master key csms/default created by CSMS is used as the encryption master key of the current secret. You can also create a key and use a user-defined encryption key on the KMS console.
Creating a Secret
- 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 Create Secret.
Figure 1 Creating a secret
- In the Create Secret dialog box, enter the secret name, value, description, and select a KMS encryption key.
- Secret Name: Enter a secret name.
- Secret Value: Enter the secret key/value or plaintext secret.
- Description: Enter the secret description.
- KMS Encryption Key: Select the default CMK csms/default or a user-defined key in KMS.
By default, the default master key csms/default created by CSMS is used as the encryption master key of the current secret. You can also create a key and use a user-defined encryption key on the KMS console. For details, see Creating a CMK.
- Click OK.
In the secret list, you can view created secrets. The default status of a secret is Enabled.
Feedback
Was this page helpful?
Provide feedbackFor any further questions, feel free to contact us through the chatbot.
Chatbot