Spring Cloud
Method 1
Add the following configurations to the bootstrap.yml file of the microservice. If they are configured, skip this step.
For details about how to obtain the AK/SK and project name, see Obtaining the AK/SK and Project Name.
spring: cloud: servicecomb: credentials: enabled: true accessKey: AK #Enter the AK. secretKey: SK #Enter the SK. project: Project name #Enter the project name. akskCustomCipher: default
Method 2
Add the environment variables listed in Table 1 to the microservice.
- Add environment variables. For details, see Setting Application Environment Variables.
- For details about how to obtain the AK/SK, see Obtaining the AK/SK and Project Name.
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