Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
5.0-alpha
-
None
Description
In some scenarios, users hope that the password set in properties file should be encrypted, to avoid the potential security issues.
So it's great for Kylin to supply such an approach. After changes, we could config the password as the folloing:
配置项加密: kylin.job.ssh-password=ENC('${encrypted_password}') 举例: 输入:${KYLIN_HOME}/bin/kylin.sh io.kyligence.kap.tool.general.CryptTool -e AES -s kylin 输出:AES encrypted password is: YeqVr9MakSFbgxEec9sBwg== // Sample kylin.server.leader-race.heart-beat-timeout=60 kylin.server.leader-race.heart-beat-interval=30 kylin.job.ssh-username=quard kylin.job.ssh-password=ENC('k7lRPO1yqWRgtR09uG+F2w==') #kylin.job.ssh-password=PlainTextPassWord