Rotate Keycloak credentials
Keycloak is an identity provider (IdP) used for single sign-on (SSO). This page explains how to update or rotate the credentials of an existing Keycloak SSO integration. Once Keycloak authentication is configured during initial setup, it can't be edited from the standard UI, so credential changes are made from the advanced apps settings page.
note
For setting up or troubleshooting SSO, see About Glean SSO.
Only admins can rotate existing Keycloak credentials. Consider performing these steps during non-working hours to avoid downtime for users.
To rotate the credentials:
- Go to the advanced apps settings page.
- Toggle the setting to Secret.
- Update each Keycloak value in turn. For each key, enter the key in the Key name field, enter the new value in the Key value field, and click Submit:
KEYCLOAK_ISSUERKEYCLOAK_CLIENT_IDKEYCLOAK_CLIENT_SECRET
- Confirm that a Written message appears after each submission.
This overwrites your existing Keycloak authentication values with the new ones.
See also
- Confidential client credentials: find the client ID and regenerate the client secret in the Keycloak Server Administration Guide.