IAM 1.6.2 (2026-10-15)
Added
-
Personal access tokens:
- Users can create personal access tokens for scripts and command-line tools on the new Personal Access Tokens page in their profile. A token is limited to the modules picked when it is created and expires after one of the configured lifetimes. The token is shown once, and users can revoke it at any time.
- A script exchanges the token in Keycloak for a short-lived access token, either at the realm token endpoint (grant type
urn:regnology:oauth:grant-type:pat, clientpat-token-exchange) or atPOST /realms/{realm}/custom-permissions/personal-access-tokens/exchange. No refresh token is issued. Each exchange checks the owner’s current permissions, so a token stops working for a module as soon as the owner loses access to it. - Configured under
global.backend.patTokenExchange:maxActiveTokens(default 10) andallowedExpiryDays(default 30, 90 and 365). Thepat-token-exchangeclient is hidden from the client list. - New IAM API endpoints:
GETandPOST /personal-access-tokens,DELETE /personal-access-tokens/{id},GET /personal-access-tokens/modulesandGET /personal-access-tokens/expiry-options. - See Personal Access Tokens.
-
Module clients and audiences:
- IAM keeps a list of OAuth clients and audiences for each module. Adding a client to a module also adds its client ID as an audience. Only modules with at least one audience can be selected for a personal access token.
- New super-admin API under
/Modulesto list modules, read one module, add or remove its clients and audiences, and delete a module entry. - Creating a client accepts an optional module ID that links the client to that module, creating the module entry if needed.
- The list starts empty after the upgrade. A module’s client is added when that module sends its registration message. Existing module contexts are left as they are.
-
External Secrets Operator:
- The IAM chart can now sync its Secrets, including individual SMTP settings, from a Secret Manager through
ExternalSecretresources. The feature is opt-in viaglobal.externalSecrets; default installations are unchanged. - See IAM: External Secrets and Secret Management.
- The IAM chart can now sync its Secrets, including individual SMTP settings, from a Secret Manager through
-
SMTP notification controls:
global.smtpServer.enabled,overrideTo, andsubjectPrefixturn off, redirect, or prefix IAM notification emails. Keycloak mail is unchanged.- See SMTP Configuration for Email Notifications.
-
Gateway API edge:
- The IAM and Keycloak hosts can now be exposed through Gateway API instead of an Ingress, using
global.authGateway.edge.mode. The default remains Ingress. - See Auth gateway.
- The IAM and Keycloak hosts can now be exposed through Gateway API instead of an Ingress, using
-
Copy module audiences onto a client:
- New
POST /Client/{clientUuid}/audiences/copycopies the audiences of one module, or of every registered module, onto a client.
- New
-
Ordered External Secrets rotation:
- When External Secrets refreshes a watched Secret, config-cli imports the new values before the backend, oauth2-proxy and valkey restart.
global.externalSecrets.reloadernow defaults totrue. - See IAM: External Secrets and Secret Management.
- When External Secrets refreshes a watched Secret, config-cli imports the new values before the backend, oauth2-proxy and valkey restart.
Changed
-
CloudNativePG Secret name:
- The database Secret created by
secret-initfollowskeycloak.cnpg.cluster.secretName. When CloudNativePG is enabled and both that name andkeycloak.externalDatabase.existingSecretare non-empty, rendering fails if they differ.
- The database Secret created by
-
Keycloak client URLs:
- Redirect URIs, web origins and post-logout redirects of the chart-managed clients are now configured under
keycloak.clientUrls. A non-empty list replaces the chart default. - See Keycloak client redirect URIs and web origins.
- Redirect URIs, web origins and post-logout redirects of the chart-managed clients are now configured under
Fixed
-
Keycloak configuration import:
- Changes to the realm configuration, config-cli image, or SMTP settings now create a new config-cli Job. This avoids Kubernetes Job template immutability errors and runs the import again with the new configuration.
-
Group delete:
- Groups with assigned permissions, on the group or its subgroups, can now be deleted without an error. The delete also removes the related permission assignments and permissions left without assignees.
Security
- Explicit Keycloak redirect allowlist:
- Chart-managed clients no longer allow
https://<domain>/*, and wildcard entries are rejected unlesskeycloak.clientUrls.allowWildcardsis enabled on a non-production installation. - The upgrade replaces the client lists in Keycloak, so any path that relied on the wildcard must be listed in
keycloak.clientUrlsbeforehand. - See Keycloak client redirect URIs and web origins.
- Chart-managed clients no longer allow