wip: add http proxy handling

This commit is contained in:
Isabella Siu
2025-12-18 16:44:55 -05:00
parent 156a6f1375
commit cf36cc8c90
13 changed files with 102 additions and 39 deletions
@@ -65,6 +65,9 @@ func (s *RequestConfigProvider) PluginRequestConfig(ctx context.Context, pluginI
if !s.cfg.AWSAssumeRoleEnabled {
m[awsds.AssumeRoleEnabledEnvVarKeyName] = "false"
}
if s.cfg.AWSPerDatasourceHTTPProxyEnabled {
m[awsds.PerDatasourceHTTPProxyEnabledEnvVarKeyName] = "true"
}
if len(s.cfg.AWSAllowedAuthProviders) > 0 {
m[awsds.AllowedAuthProvidersEnvVarKeyName] = strings.Join(s.cfg.AWSAllowedAuthProviders, ",")
}