Skip to Content

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, client pat-token-exchange) or at POST /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) and allowedExpiryDays (default 30, 90 and 365). The pat-token-exchange client is hidden from the client list.
    • New IAM API endpoints: GET and POST /personal-access-tokens, DELETE /personal-access-tokens/{id}, GET /personal-access-tokens/modules and GET /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 /Modules to 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 ExternalSecret resources. The feature is opt-in via global.externalSecrets; default installations are unchanged.
    • See IAM: External Secrets and Secret Management.
  • SMTP notification controls:

  • 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.
  • Copy module audiences onto a client:

    • New POST /Client/{clientUuid}/audiences/copy copies the audiences of one module, or of every registered module, onto a client.
  • 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.reloader now defaults to true.
    • See IAM: External Secrets and Secret Management.

Changed

  • CloudNativePG Secret name:

    • The database Secret created by secret-init follows keycloak.cnpg.cluster.secretName. When CloudNativePG is enabled and both that name and keycloak.externalDatabase.existingSecret are non-empty, rendering fails if they differ.
  • 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.

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 unless keycloak.clientUrls.allowWildcards is 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.clientUrls beforehand.
    • See Keycloak client redirect URIs and web origins.