Importing Application Environment Variables
This section describes how to import a file to add environment variables for an application.
Use Restrictions
The file must be a key-value pair mapping file in JSON or YAML format. A maximum of 200 environment variables can be imported at a time. Example file content and format:
{"key1": "value1", "key2": "value2"}
- key1 and key2 are the application environment variable names, which must be unique in the same application environment. Enter 1 to 64 characters. Start with a letter, underscore (_), or hyphen (-). Only use letters, digits, underscores (_), hyphens (-), and periods (.).
- value1 and value2 are the application environment variable values.
Exercise caution when inputting sensitive information in configuring environment variables, or encrypt sensitive information to avoid information leakage.
Importing an Application Environment Variable File
- Log in to ServiceStage.
- Choose Application Management.
- Click the target application. The Overview page is displayed.
- In the left navigation pane, click Environment Variables.
- Select a created environment from the Environment drop-down list.
- Click Import and select the created environment variable file.
- Click Submit.
Figure 1 Importing an application environment variable file
Follow-Up Operations
After the application environment variables are changed, you can:
- Make the changed application environment variables take effect for a specified component of the application by Upgrading a Single Component.
- Make the changed application environment variables take effect for multiple or all components of the application by Upgrading Components in Batches.
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