检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Use the encrypted configuration item.
Comparing Configuration Versions Configuration file encryption CSE supports encrypted storage of configuration files to ensure sensitive data security. Configuration File Encryption Scheme Parent topic: Security
AK/SK-based authentication: Requests are encrypted using an AK/SK pair Token-based Authentication The validity period of a token is 24 hours. If a token is used for authentication, cache it to prevent frequent API calling. Ensure that the token is valid when you use it.
The details are as follows: Implement the org.apache.servicecomb.foundation.auth.Cipher API using either of the following methods: String name() Name definition of servicecomb.credentials.cipher, which needs to be added to the configuration file. char[] decode(char[] encrypted) Decrypt
encryption algorithms for storage Implement the com.huaweicloud.common.util.Cipher API using either of the following methods: String name(), which is the name definition of spring.cloud.servicecomb.credentials.cipher and needs to be added to the configuration file. char[] decode(char[] encrypted