| 
									
										
										
										
											2021-08-12 12:37:05 -07:00
										 |  |  | # Configure OpenMetadata Server
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ## Update conf/openmetadata-security.yaml
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | * Once the `Client Id` and `Client secret` is generated. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   Add the `Client Id` in openmetadata-security.yaml file in `client_id` field. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ```text | 
					
						
							|  |  |  | authenticationConfiguration: | 
					
						
							|  |  |  |   provider: "google" | 
					
						
							|  |  |  |   publicKey: "https://www.googleapis.com/oauth2/v3/certs" | 
					
						
							|  |  |  |   authority: "https://accounts.google.com" | 
					
						
							|  |  |  |   clientId: "{Client Secret}" | 
					
						
							|  |  |  |   callbackUrl: "http://localhost:8585/callback" | 
					
						
							|  |  |  | ``` | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-08-12 21:14:42 +00:00
										 |  |  | * Update authorizerConfiguration to add adminPrincipals | 
					
						
							| 
									
										
										
										
											2021-08-12 12:37:05 -07:00
										 |  |  | 
 | 
					
						
							|  |  |  | ```text | 
					
						
							|  |  |  | authorizerConfiguration: | 
					
						
							|  |  |  |   className: "org.openmetadata.catalog.security.DefaultCatalogAuthorizer" | 
					
						
							|  |  |  |   # JWT Filter | 
					
						
							|  |  |  |   containerRequestFilter: "org.openmetadata.catalog.security.JwtFilter" | 
					
						
							|  |  |  |   adminPrincipals: | 
					
						
							|  |  |  |     - "suresh" | 
					
						
							|  |  |  |   botPrincipals: | 
					
						
							|  |  |  |     - "ingestion-bot" | 
					
						
							| 
									
										
										
										
											2021-10-01 15:46:46 -07:00
										 |  |  |   principalDomain: "open-metadata.org" | 
					
						
							| 
									
										
										
										
											2021-08-12 12:37:05 -07:00
										 |  |  | ``` | 
					
						
							| 
									
										
										
										
											2021-08-12 20:59:34 +00:00
										 |  |  | 
 |