2024-06-18 15:53:06 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								---
							 
						 
					
						
							
								
									
										
										
										
											2025-07-15 19:46:59 +05:30 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								title: Amazon Cognito SSO for Bare Metal | Official Documentation
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								description: Deploy Amazon Cognito on bare-metal servers to offer secure authentication without relying on cloud-native services or hosted environments.
							 
						 
					
						
							
								
									
										
										
										
											2024-06-18 15:53:06 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								slug: /deployment/security/amazon-cognito/bare-metal
							 
						 
					
						
							
								
									
										
										
										
											2024-09-05 10:30:31 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								collate: false
							 
						 
					
						
							
								
									
										
										
										
											2024-06-18 15:53:06 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								---
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								# Amazon Cognito SSO for Bare Metal
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								## Update conf/openmetadata.yaml
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Once the User pool and App client are created, add the `client id`  to the value of the `clientId`  field in the
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								`openmetadata.yaml`  file. See the snippet below for an example of where to place the `client id`  value. Also, configure the 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								`publicKeyUrls`  and `authority`  fields correctly with the User Pool ID from the previous step. 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								```yaml
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								authenticationConfiguration:
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  provider: "aws-cognito"
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  publicKeyUrls:
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    -  "https://cognito-idp.us-west-1.amazonaws.com/{User Pool ID}/.well-known/jwks.json"
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    -  "{your domain}/api/v1/system/config/jwks"
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  authority: "https://cognito-idp.us-west-1.amazonaws.com/{User Pool ID}"
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  clientId: "{Client ID}"
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  callbackUrl: "http://localhost:8585/callback"
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Then,
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  Update `authorizerConfiguration`  to add login names of the admin users in `adminPrincipals`  section as shown below. 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  Update the `principalDomain`  to your company domain name. 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								```yaml
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								authorizerConfiguration:
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  className: "org.openmetadata.service.security.DefaultAuthorizer"
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  # JWT Filter
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  containerRequestFilter: "org.openmetadata.service.security.JwtFilter"
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  adminPrincipals:
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    -  "user1"
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    -  "user2"
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  principalDomain: "open-metadata.org"
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2025-06-27 12:22:38 +05:30 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								{% partial file="/v1.9/deployment/configure-ingestion.md" /%}