Keycloak SSO for Docker
To enable security for the Docker deployment, follow the next steps:
1. Create an .env file
Create an openmetadata_keycloak.env
file and add the following contents as an example. Use the information generated when setting up the account.
The configuration below already uses the presets shown in the example of keycloak configurations, you can change to yours.
Altering the order of claims in jwtPrincipalClaims
may lead to problems when matching a user from a token with an existing user in the system. The mapping process relies on the specific order of claims, so changing it can result in inconsistencies or authentication failures, as the system cannot ensure correct user mapping with a new claim order.
2. Start Docker
Configure Ingestion
Once your server security is set, it's time to review the ingestion configuration. Our bots support JWT tokens to authenticate to the server when sending requests.
Find more information on Enabling JWT Tokens and JWT Troubleshooting to ensure seamless authentication.