Skip to content

Commit c29228a

Browse files
committed
update language to encourage SDK use
1 parent 0790181 commit c29228a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

source/auth/auth.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1052,7 +1052,12 @@ MUST obtain the ``access_key``, ``secret_key`` and ``security_token`` which will
10521052
Caching Credentials
10531053
___________________
10541054
Credentials fetched by the driver using AWS endpoints MUST be cached and reused
1055-
to avoid hitting AWS rate limitations. The "Expiration" field MUST be stored
1055+
to avoid hitting AWS rate limitations. AWS recommends using a suitable
1056+
Software Development Kit (SDK) for your langauge. If that SDK supports
1057+
credential fetch and automatic refresh/caching, then that mechanism can
1058+
be used in lieu of manual caching.
1059+
1060+
If using manual caching, the "Expiration" field MUST be stored
10561061
and used to determine when to clear the cache. Credentials are considered
10571062
valid if they are more than one minute away from expiring, to the reduce the
10581063
chance of expiration before they are validated by the server.

0 commit comments

Comments
 (0)