mirror of
				https://github.com/clearml/clearml-server
				synced 2025-06-26 23:15:47 +00:00 
			
		
		
		
	Remove example S3 credentials
This commit is contained in:
		
							parent
							
								
									c3f927d6c1
								
							
						
					
					
						commit
						16d0955ae1
					
				@ -15,15 +15,15 @@ aws {
 | 
			
		||||
            #     key: "my-access-key"
 | 
			
		||||
            #     secret: "my-secret-key"
 | 
			
		||||
            # },
 | 
			
		||||
            {
 | 
			
		||||
                # This will apply to all buckets in this host (unless key/value is specifically provided for a given bucket)
 | 
			
		||||
                host: "localhost:9000"
 | 
			
		||||
                key: "minioadmin"
 | 
			
		||||
                secret: "minioadmin"
 | 
			
		||||
                # region: my-server
 | 
			
		||||
                multipart: false
 | 
			
		||||
                secure: false
 | 
			
		||||
            }
 | 
			
		||||
//            {
 | 
			
		||||
//                # This will apply to all buckets in this host (unless key/value is specifically provided for a given bucket)
 | 
			
		||||
//                host: "localhost:9000"
 | 
			
		||||
//                key: "minioadmin"
 | 
			
		||||
//                secret: "minioadmin"
 | 
			
		||||
//                # region: my-server
 | 
			
		||||
//                multipart: false
 | 
			
		||||
//                secure: false
 | 
			
		||||
//            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -73,7 +73,9 @@ def init_mongo_data():
 | 
			
		||||
            }
 | 
			
		||||
            internal_user_emails.add(email.lower())
 | 
			
		||||
            revoke = fixed_mode and credentials.get("revoke_in_fixed_mode", False)
 | 
			
		||||
            user_id = _ensure_auth_user(user_data, company_id, log=log, revoke=revoke, internal_user=True)
 | 
			
		||||
            user_id = _ensure_auth_user(
 | 
			
		||||
                user_data, company_id, log=log, revoke=revoke, internal_user=True
 | 
			
		||||
            )
 | 
			
		||||
            if credentials.role == Role.user:
 | 
			
		||||
                _ensure_backend_user(user_id, company_id, credentials.display_name)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user