Chore: Use SigV4 middleware from aws-sdk (#84462)
This commit is contained in:
@@ -151,5 +151,10 @@ func (s *RequestConfigProvider) PluginRequestConfig(ctx context.Context, pluginI
|
||||
m[backend.ResponseLimit] = strconv.FormatInt(s.cfg.ResponseLimit, 10)
|
||||
}
|
||||
|
||||
if s.cfg.SigV4AuthEnabled {
|
||||
m[awsds.SigV4AuthEnabledEnvVarKeyName] = "true"
|
||||
m[awsds.SigV4VerboseLoggingEnvVarKeyName] = strconv.FormatBool(s.cfg.SigV4VerboseLogging)
|
||||
}
|
||||
|
||||
return m
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user