Configuring Keycloak for authentication
Before you start using any component of your platform, you need to configure the authentication system to be associated with the platform components. As mentioned in Chapter 4, The Anatomy of a Machine Learning Platform, you will use Keycloak, an open source software to provide authentication services.
As a first step, import the configuration from chapter5/realm-export.json
, which is available in the code repository associated with this book. This file contains the configuration required to associate the OAuth2 capabilities for the platform components.
Though this book is not a Keycloak guide by any means, we will provide some basic definitions for you to understand the high-level taxonomy of the Keycloak server:
- Realm: A Keycloak realm is an object that manages the users, roles, groups, and client applications that belong to the same domain. One Keycloak server can have multiple realms, so you have multiple sets of configurations...