From c83bb77a84f702f67e6dae4343716322181436da Mon Sep 17 00:00:00 2001 From: DanielRailean Date: Thu, 29 Feb 2024 14:46:46 +0100 Subject: [PATCH] Update sigv4.lua --- kong/plugins/aws-request-signing/sigv4.lua | 2 -- 1 file changed, 2 deletions(-) diff --git a/kong/plugins/aws-request-signing/sigv4.lua b/kong/plugins/aws-request-signing/sigv4.lua index 904df88..54ccf3c 100644 --- a/kong/plugins/aws-request-signing/sigv4.lua +++ b/kong/plugins/aws-request-signing/sigv4.lua @@ -197,7 +197,6 @@ local function prepare_awsv4_request(opts) -- Task 2: Create a String to Sign for Signature Version 4 -- http://docs.aws.amazon.com/general/latest/gr/sigv4-create-string-to-sign.html - local string_to_sign = ALGORITHM .. '\n' .. request_date .. '\n' .. @@ -212,7 +211,6 @@ local function prepare_awsv4_request(opts) -- Task 4: Add the Signing Information to the Request -- http://docs.aws.amazon.com/general/latest/gr/sigv4-add-signature-to-request.html -- https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html - if opts.sign_query then request_query = request_query .. "&X-Amz-Signature=" .. signature else