Break glass account
A break glass account is essential for maintaining access to Keycloak in emergencies when primary authentication methods fail, such as IdP downtime or SSO issues.
It typically has admin-level permissions and uses a local account username and password, ensuring access even if external IdPs are compromised, providing a crucial backup when normal authentication methods are unavailable.
How to create a break glass account in Keycloak
Do not enable MFA on this account to ensure quick access during emergencies. Secure it with strong, unique passwords, monitor for unauthorized access, and audit its usage regularly.
Login to the target Spark tenant. Access the Keycloak console from the User menu.
Log into the Keycloak Admin Console using your admin credentials.
Go to the Users section.
Click on Add user.
Fill in the username field and create the user.
Go to the Credentials tab.
Set a strong, unique password and ensure Temporary is toggled off.
Go to the Role Mappings tab.
Click on the Assign Role button and select Filter by clients.
Assign the following roles to this user:
view-identity-providersmanage-identity-providersview-authorizationmanage-authorization
Go to the Groups tab.
Click on the Join Group button.
Select
tenant-adminand click Join.
Last updated
