Applications can dynamically retrieve configurations from a configuration center, reducing maintenance costs. SAE integrates distributed configuration management (ACM) to provide dynamic configuration updates, environment separation, version control, data encryption, and fine-grained permission control.
The standalone distributed configuration management (ACM) service has been discontinued, but the ACM service integrated into SAE remains available. For more comprehensive services and improved security and stability, we recommend that you migrate from ACM to MSE Nacos and then use the Nacos registry center of MSE.
This topic does not apply to creating configuration items for a container runtime environment. For more information, see Manage and use configuration items (K8s ConfigMap).
Create configurations
On the SAE distributed configuration management (ACM) page, select the target region and namespace at the top of the page, click Configuration List, and then click Create Configuration. To ensure your application can retrieve the configuration, you must also integrate distributed configuration management (ACM) into your application.
Integrate ACM into applications
On the SAE distributed configuration management (ACM) page, select the target region and namespace at the top of the page, click Configuration List, and then click the target Data ID to go to the configuration details page. Click sample code and select a programming language.
Use the sample code to integrate distributed configuration management (ACM) into your application. For more information, see ACM SDK.
View configuration content
On the SAE distributed configuration management (ACM) page, select the target region and namespace at the top of the page, click Configuration List, and then click the target Data ID to go to the configuration details page. Click Configuration Content.
Export configurations
On the SAE distributed configuration management (ACM) page, select the target region and namespace at the top of the page. In the Configuration List, select the target configurations, click Export at the bottom of the page, and then click Export in the dialog box that appears to confirm. The configurations are exported as a ZIP package.
Import configurations
On the SAE distributed configuration management (ACM) page, select the target region and namespace at the top of the page. In the Configuration List, click Import Configuration, and then click Upload File. The imported configuration file must be a ZIP package.
Query and roll back historical versions
You can query the historical versions of a configuration and roll back if an update fails.
On the SAE distributed configuration management (ACM) page, select the target region and namespace at the top of the page, click Configuration List, and then click the target Data ID to go to the configuration details page. Click Historical versions. In the Actions column of the target historical version, click View or Rollback.
Query push status
You can check whether a configuration has been pushed to the applications that are listening for it.
On the SAE distributed configuration management (ACM) page, select the target region and namespace at the top of the page, click Configuration List, and then click the target Data ID to go to the configuration details page. Click Listener Query, and then check the push status.
Query push track
You can query the push track of a configuration to troubleshoot issues, such as a configuration update that failed to take effect.
On the SAE distributed configuration management (ACM) page, select the target region and namespace at the top of the page, click Configuration List, and then click the target Data ID to go to the configuration details page. Click Push Track, and then query the push track.
Create encrypted configurations
Encrypted configurations secure sensitive information, such as data sources, tokens, usernames, and passwords, reducing the risk of data leaks.
On the SAE distributed configuration management (ACM) page, select the target region and namespace at the top of the page, click Configuration List, and then click Create Configuration. Enable Data encryption and select an encryption method.
Integrate encrypted ACM configurations in applications
On the SAE distributed configuration management (ACM) page, select the target region and namespace at the top of the page, click Configuration List, and then click the target Data ID to go to the configuration details page. Click sample code and select a programming language.
You need to configure the AccessKey/SecretKey of a RAM user in your application to decrypt data. The Java and Python SDKs have integrated the KMS SDK, and you can add a decryption filter to automatically decrypt data. For decryption in other languages, see Decrypt.