[sqlalchemy] Provide an ability to configure outbound impersonation
@@ -138,8 +138,10 @@ class SqlAlchemyApi(Api):
def _create_engine(self):
if '${' in self.options['url']: # URL parameters substitution
- auth_provided = False
vars = {'USER': self.user.username}
+
+ if '${PASSWORD}' in self.options['url']:
+ auth_provided = False
if 'session' in self.options:
for _prop in self.options['session']['properties']:
if _prop['name'] == 'user':
