Go Chassis

Method 1

Add the following configurations to the chassis.yaml or auth.yaml 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.

Table 1 Environment variables

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.