Create a Secret based on your needs, select the appropriate type of Secret, and configure the parameters.
Container Platform.
In the left navigation bar, click Configuration > Secrets.
Click Create Secret.
Configure the parameters.
Note: In the form view, sensitive data such as the input username and password will automatically be encoded in Base64 format before being stored in the Secret. The converted data can be previewed in the YAML view.
Click Create.
When creating workloads for native applications in the same namespace, you can reference the Secrets that have already been created.
You can click the (⋮) on the right side of the list page or click Actions in the upper right corner of the details page to update or delete the Secret as needed.
Operation | Description |
---|---|
Update | After adding or updating a Secret, workloads that have referenced this Secret (or its configuration items) via environment variables need to have their Pods rebuilt for the new configuration to take effect. |
Delete |
|