Skip to content

Commit

Permalink
Update sigv4.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielRailean committed Feb 29, 2024
1 parent e61d4b6 commit c83bb77
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions kong/plugins/aws-request-signing/sigv4.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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' ..
Expand All @@ -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
Expand Down

0 comments on commit c83bb77

Please sign in to comment.