Uploaded image for project: 'Keycloak'
  1. Keycloak
  2. KEYCLOAK-6050

Regression: SMTP password now missing in realm export

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.4.1.Final
    • Fix Version/s: 3.4.2.Final
    • Component/s: None
    • Labels:
      None

      Description

      Starting Keycloak with

      -Dkeycloak.migration.action=export -Dkeycloak.migration.provider=dir -Dkeycloak.migration.dir=/my/export
      

      now masks SMTP passwords with "**********". The consequence is that the SMTP connection doesn't work anymore when importing a previously exported realm configuration.

      Here the corresponding part of the exported realm json file:

      with Keycloak-3.1.0.Final

        "smtpServer" : {
          "password" : "AaPKas4qPAf4538OktVItO87apOIjq45sd3FvBfUYU",
          "starttls" : "true",
          "auth" : "true",
          "port" : "587",
          "host" : "email-smtp.eu-west-1.amazonaws.com",
          "from" : "support@my.tech",
          "user" : "AKIAJWSWGZWF4EG5WQEA"
        },
      

      with Keycloak-3.4.1.Final

        "smtpServer" : {
          "password" : "**********",
          "starttls" : "true",
          "auth" : "true",
          "port" : "587",
          "host" : "email-smtp.eu-west-1.amazonaws.com",
          "from" : "support@my.tech",
          "user" : "AKIAJWSWGZWF4EG5WQEA"
        },
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                stianst Stian Thorgersen
                Reporter:
                mguillem Marc Guillemot
                Tester:
                Vlastislav Ramik
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: