class Aws::Plugins::S3RequestSigner::SigningHandler
def regional_sigv(context)
def regional_sigv(context) # Drop back to older S3 signature version when uploading objects for # better performance. This optimization may be removed at some point # in favor of always using signature version 4. if V2_REGIONS.include?(context.config.region) uploading_file?(context) && !kms_encrypted?(context) ? :s3 : :v4 else :v4 end end