Defining the security realm

A key aspect of Keycloak configuration is the security realm, which contains all the configuration (user, roles, client policies, and many others) that are pertinent to one security context. When you start Keycloak for the first time, it will contain just one realm: the master realm. This is the top level in the hierarchy of realms. You shouldn't use this realm to configure users and services in your organization. Instead, consider using the master realm for administrators who are in charge of defining the other realms in your organization.

Our GitHub repository for this chapter contains an application realm named Quarkus realm that will be useful for our purposes. We will show you how to import it and then we ...

Get Hands-On Cloud-Native Applications with Java and Quarkus now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.