Environment Variables
You can configure encryption settings and environment variables to dynamically pass settings to your function code and libraries without changing your code.
For example, you can use getUserData(string key) in the context class to obtain the values of environment variables and encryption settings in Node.js. For details, see Developing Functions in Node.js. For details about how to obtain the values of environment variables in other programming languages, see Developing Functions.
- Environment variables and encryption settings are user-defined key-value pairs that store function settings. Keys can contain letters, digits, and underscores (_), and must start with a letter.
- The total length of the key and value cannot exceed 2048 characters.
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