mirror of
				https://github.com/open-metadata/OpenMetadata.git
				synced 2025-10-31 18:48:35 +00:00 
			
		
		
		
	 71dc66ef29
			
		
	
	
		71dc66ef29
		
			
		
	
	
	
	
		
			
			* Documentation about keycloak SSO integration * Adjust to show in menu * Adjust label Co-authored-by: Luan Paschoal <luan.paschoal@extremedigital.com.br>
		
			
				
	
	
		
			48 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			48 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ---
 | |
| title: Keycloak SSO for Kubernetes
 | |
| slug: /deployment/security/keycloak/kubernetes
 | |
| ---
 | |
| 
 | |
| # Keycloak SSO for Kubernetes
 | |
| 
 | |
| Check the Helm information [here](https://artifacthub.io/packages/search?repo=open-metadata).
 | |
| 
 | |
| Once the `Client Id` and `Client Secret` are generated, see the snippet below for an example of where to
 | |
| place the client id value and update the authorizer configurations in the `values.yaml`.
 | |
| 
 | |
| Create a secret in kubernetes with the client secret:
 | |
| ```shell
 | |
| kubectl create secret generic custom-oidc-key-secret --namespace=dev-open-metadata --from-literal=custom-oidc-key-secret=<change-for-your-secret>
 | |
| ```
 | |
| 
 | |
| The configuration below already uses the presets shown in the example of keycloak configurations, you can change to yours.
 | |
| 
 | |
| ```yaml
 | |
| global:
 | |
|   authorizer:
 | |
|     className: "org.openmetadata.catalog.security.DefaultAuthorizer"
 | |
|     containerRequestFilter: "org.openmetadata.catalog.security.JwtFilter"
 | |
|     initialAdmins:
 | |
|       - "admin-user"
 | |
|     botPrincipals:
 | |
|       - "ingestion-bot"
 | |
|       - "service-account-open-metadata"
 | |
|     principalDomain: "open-metadata.org"
 | |
|   authentication:
 | |
|     provider: "custom-oidc"
 | |
|     publicKeys:
 | |
|       - "http://localhost:8080/realms/data-sec/protocol/openid-connect/certs"
 | |
|     authority: "http://localhost:8080/realms/data-sec"
 | |
|     clientId: "{Client ID}"
 | |
|     callbackUrl: "http://localhost:8585/callback"
 | |
|   airflow:
 | |
|     openmetadata:
 | |
|       authProvider: "custom-oidc"
 | |
|       customOidc:
 | |
|         clientId: "open-metadata"
 | |
|         secretKey:
 | |
|           secretRef: custom-oidc-key-secret
 | |
|           secretKey: custom-oidc-key-secret
 | |
|         tokenEndpoint: "http://localhost:8080/realms/data-sec/protocol/openid-connect/token"
 | |
| ```
 |