Skip to content

Commit df74cbe

Browse files
committed
address review
1 parent ce365eb commit df74cbe

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

source/auth/auth.rst

+5-5
Original file line numberDiff line numberDiff line change
@@ -1113,20 +1113,20 @@ MUST obtain the ``access_key``, ``secret_key`` and ``security_token`` which will
11131113
Caching Credentials
11141114
___________________
11151115
Credentials fetched by the driver using AWS endpoints MUST be cached and reused
1116-
to avoid hitting AWS rate limitations. AWS recommends using a suitable
1117-
Software Development Kit (SDK) for your langauge. If that SDK supports
1116+
to avoid hitting AWS rate limitations. AWS recommends using a suitable
1117+
Software Development Kit (SDK) for your langauge. If that SDK supports
11181118
credential fetch and automatic refresh/caching, then that mechanism can
11191119
be used in lieu of manual caching.
11201120

11211121
If using manual caching, the "Expiration" field MUST be stored
1122-
and used to determine when to clear the cache. Credentials are considered
1122+
and used to determine when to clear the cache. Credentials are considered
11231123
valid if they are more than five minutes away from expiring, to the reduce the
11241124
chance of expiration before they are validated by the server.
11251125

11261126
If there are no current valid cached credentials, the driver MUST initiate a
1127-
credential request. To avoid adding a bottleneck that would override the
1127+
credential request. To avoid adding a bottleneck that would override the
11281128
``maxConnecting`` setting, the driver MUST not place a lock on making a
1129-
request. The cache MUST be written atomically.
1129+
request. he cache MUST be written atomically.
11301130

11311131
If AWS authentication fails for any reason, the cache MUST be cleared.
11321132

0 commit comments

Comments
 (0)