Java Chassis
Method 1
Add the following configurations to the microservice.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.
cse:
credentials:
accessKey: ak # Set this parameter based on the actual value.
secretKey: sk # Set this parameter based on the actual value.
project: project name # Set this parameter based on the actual value.
akskCustomCipher: default Method 2
Add the following environment variables for the microservice. For details about how to obtain the AK/SK and project name, see Obtaining the AK/SK and Project Name.
| Environment Variable | Description |
|---|---|
| cse_credentials_accessKey | Set the AK based on the actual value. |
| cse_credentials_secretKey | Set the SK based on the actual value. |
Last Article: Configuring the AK/SK for Microservice Applications
Next Article: Go Chassis
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.