@@ -1113,20 +1113,20 @@ MUST obtain the ``access_key``, ``secret_key`` and ``security_token`` which will
1113
1113
Caching Credentials
1114
1114
___________________
1115
1115
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
1118
1118
credential fetch and automatic refresh/caching, then that mechanism can
1119
1119
be used in lieu of manual caching.
1120
1120
1121
1121
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
1123
1123
valid if they are more than five minutes away from expiring, to the reduce the
1124
1124
chance of expiration before they are validated by the server.
1125
1125
1126
1126
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
1128
1128
``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.
1130
1130
1131
1131
If AWS authentication fails for any reason, the cache MUST be cleared.
1132
1132
0 commit comments