Guangyuan Feng created KYLIN-5569:
-------------------------------------
Summary: Support manually setting ssh encrypted password when
enable Job multi-live
Key: KYLIN-5569
URL: https://issues.apache.org/jira/browse/KYLIN-5569
Project: Kylin
Issue Type: Improvement
Components: Job Engine, Security
Affects Versions: 5.0-alpha
Reporter: Guangyuan Feng
Fix For: 5.0-alpha
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:
{code:java}
配置项加密: 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 {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)