Uploaded image for project: 'Red Hat build of Keycloak'
  1. Red Hat build of Keycloak
  2. RHBK-519

Admin Recovery / Enhanced admin bootstrap

XMLWordPrintable

    • Icon: Feature Feature
    • Resolution: Done
    • Icon: Undefined Undefined
    • 26.0.x
    • None
    • team/cloud-native
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • 0% To Do, 0% In Progress, 100% Done
    • CIAM-K Sprint 50, CIAM-K Sprint 51, CIAM-K Sprint 52, CIAM-K Sprint 53, CIAM-K Sprint 54

      Narrative

      RH-SSO (WildFly distribution of Keycloak) supported adding users via CLI which also effectively allowed recovering a lost access to the admin user in master Realm. This is currently missing from the RHBK.

      RHBK currently supports only creation of the initial admin users if it does not exist already. This is currently possible via RHBK Welcome Screen (if accessed via localhost) or by setting dedicated environmental variables prior to starting the server.

      Creating a user via environmental variables is also considered problematic as we don't enforce changing the credentials after first login. Using the Welcome Page is also not straightforward in OpenShift environment due to the requirement of accessing it via localhost.

      Even though this is essentially two issues, they are closely related. Before implementing recovery functionality, we should reconsider how the initial admin is created in the first place.
       

      Value Proposition

      Allow customers to create and recover initial admin user in a secure and user friendly way.
       

      Acceptance Criteria

      • Improved security for bootstrapping the initial admin user. RHBK should OOTB prevent users from accessing or even using the initial admin credentials after the initial installation phase of the server.
      • Ability to recover access to initial admin user in master realm.
      • Good UX for both bare metal, containers and Operator deployments.

              rhn-engineering-shawkins Steven Hawkins
              pvlha Pavel Vlha
              Keycloak Cloud Native
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: