Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Login as the Admin user for Keycloak and head to the top right hand corner to “Manage Account”.

  2. Head to the password section on the left hand side pannel.

  3. Simply update the password here.

  4. Once the password is updated make sure you update the keycloak-credentials.yaml secret file KEYCLOAK_PASSWORD to match and reapply it.

    Code Block
    ### Native Kubernetes
    kubectl apply -f keycloak-credentials.yaml
    
    ### OpenShift
    oc apply -f keycloak-credentials.yaml
  5. Restart the deployment pod only to ensure the password takes effect.

    Code Block
    ### Native Kubernetes
    kubectl delete pod <keycloak deployment pod>
    
    ### OpenShift
    oc delete pod <keycloak deployment pod>

1.3. Bulk load keycloak users

Use the loader in create=true to either create users in keycloak (when using keycloak as a standalone user repository)

Use the loader in create=false when updating keycloak users that have been loaded from another source such as AD / LDAP integrations.

Code Block
cd /opt/server
python batch_load_keycloak.py --keycloak-mapping=/opt/sample/demo/KEYCLOAKMAPPING.csv --default-password=<default password> --create=true

1.3. Changing Client Keys for Service Authentication

...