Managed Keycloak

Managed Keycloak: all of Keycloak, no server to babysit

Keycloak is the best-known open identity server among Java teams. The problem is rarely features; it is operations. GatekeeperID IAM runs Keycloak for you and adds what a product application still needs.

Updated

What takes work when you host Keycloak yourself

  • Running and maintaining the server, its database, and backups.
  • Tracking releases and applying security updates.
  • Creating a realm, clients, and mappers for every customer of your SaaS.
  • Turning Keycloak roles into authorization rules in the backend.
  • Building a screen for your customer’s administrator, because the Keycloak console is built for specialists.
  • Carrying the pager when login goes down.

What GatekeeperID IAM adds on top of Keycloak

NeedSelf-hosted KeycloakGatekeeperID IAM
Server, database, and backupsYour teamGatekeeperID
New customer (tenant)Create and configure a realmCreated in the Console, with an isolated realm
Spring Boot integrationSpring Security and OIDC configurationMaven Central starter and @GatekeeperProtected
Node.js integrationThird-party OIDC library@gatekeeperid/sdk with authorize
Per-route permissionsYou write and maintain themRoutes sent by the SDK and bound to permissions in the Console
Console for your customer’s adminBuild itReady-made Console
Google loginIdentity provider in the realmClient ID and secret in the Console

What stays the same

The standards. The token is an OAuth2 and OpenID Connect JWT signed by Keycloak, and your team keeps working with concepts it already knows: users, groups, roles, and permissions.

When hosting Keycloak yourself still makes sense

  • You are required to run everything on your own infrastructure or on-premises.
  • You need custom SPIs, your own themes, or Keycloak extensions.
  • You need features we do not have yet, such as MFA and passkeys.
  • A platform team already runs Keycloak comfortably.

In those cases self-hosting is the right call. If the goal is working login and permissions so the team can focus on the product, GatekeeperID IAM is the shortest path.

Getting started

One dependency, the Console credentials, and one annotation on the route.

pom.xml
<dependency>
  <groupId>cloud.gatekeeperid</groupId>
  <artifactId>gatekeeper-spring-boot-starter</artifactId>
  <version>0.3.5</version>
</dependency>
application.yml
gatekeeper:
  application-name: orders-api
  tenant-id: ${GATEKEEPER_TENANT_ID}
  client-id: ${GATEKEEPER_CLIENT_ID}
  hmac:
    secret: ${GATEKEEPER_HMAC_SECRET}
OrdersController.java
@GatekeeperProtected(permission = "orders:create")
@PostMapping("/orders")
public Order create(@RequestBody NewOrder body) {
  return orders.create(body);
}

Keycloak in production, no server to babysit

Request early access and integrate with your real application, free of charge.

Frequently asked questions

Do I need to know Keycloak to use GatekeeperID IAM?
No. Tenants, users, groups, permissions, and social login are configured in the Console, and the application integrates through the SDK. Keycloak runs underneath, operated by us.
Does each customer of my SaaS get a separate realm?
Yes. Each tenant has its own realm, with users, groups, and social login isolated from the others.
Is the token still a standard JWT?
Yes. It is an OAuth2 and OpenID Connect JWT, with an access token and a refresh token.
How much does managed Keycloak with GatekeeperID cost?
Integration is free during early access. For production we put together a proposal in Brazilian reais.