Secret Data
It specifies the data contained in a secret.
Value Range
Arrays in key-value pairs.
- Enter 1 to 253 characters for a key. Only lowercase letters, digits, hyphens (-), underscores (_), and periods (.) are allowed.
- There are no special restrictions on this value.
The total data size cannot exceed 1 MiB.
Default Value
None
Modifiable
Yes
Suggestions
Map ConfigMaps to keys in data to prevent multiple configuration structures from being maintained as one item in data. Otherwise items may be unintentionally overwritten during configuration update.

Information in secrets is encrypted for storage. When a user obtains a secret, the system decrypts and returns the content. Therefore, the key encryption mechanism cannot be used to ensure information security. Sensitive information must be encrypted before being configured in the data field. Otherwise, there may be security issues, such as data leaks.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot