Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-5569

Support manually setting ssh encrypted password when enable Job multi-live

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.0-alpha
    • 5.0-beta
    • Job Engine, Security
    • 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 

       

      Attachments

        Activity

          People

            newboy Guangyuan Feng
            newboy Guangyuan Feng
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: