Skip to content

Commit 008d733

Browse files
committed
Improve documentation whitespacing
1 parent 54a291d commit 008d733

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/aws_simple_sign/core.clj

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
a [Cognitect AWS API][2] client or a map with the following structure:
99
1010
{:credentials #:aws{:access-key-id \"some-access-key\"
11-
:secret-access-key \"wild_secr3t\"
12-
:session-token \"FwoG...\"}
11+
:secret-access-key \"wild_secr3t\"
12+
:session-token \"FwoG...\"}
1313
:region \"us-east-1\"
1414
:endpoint {:protocol :https
1515
:hostname \"s3.amazonaws.com\"}}
@@ -114,6 +114,7 @@
114114

115115
(defn signature
116116
"AWS specification: https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-header-based-auth.html
117+
117118
Inspired by https://gist.github.com/souenzzo/21f3e81b899ba3f04d5f8858b4ecc2e9"
118119
[credentials canonical-url {:keys [scope method timestamp region service query-params content-sha256 signed-headers]}]
119120
(let [encoded-url (uri-encode url-unreserved-chars canonical-url)

0 commit comments

Comments
 (0)