boto3-refresh-session 1.3.7__py3-none-any.whl → 1.3.8__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,5 +3,5 @@ from .session import RefreshableSession
3
3
  from .sts import STSRefreshableSession
4
4
 
5
5
  __all__ = ["RefreshableSession"]
6
- __version__ = "1.3.7"
6
+ __version__ = "1.3.8"
7
7
  __author__ = "Mike Letts"
@@ -16,8 +16,8 @@ class CustomRefreshableSession(BaseRefreshableSession, method="custom"):
16
16
  Parameters
17
17
  ----------
18
18
  custom_credentials_method: Callable
19
- Required. Accepts a Python function that returns temporary AWS security credentials. That
20
- function must return a dictionary containing 'access_key', 'secret_key', 'token', and
19
+ Required. Accepts a callable object that returns temporary AWS security credentials. That
20
+ object must return a dictionary containing 'access_key', 'secret_key', 'token', and
21
21
  'expiry_time' when called.
22
22
  custom_credentials_method_args : dict[str, Any], optional
23
23
  Optional keyword arguments for the function passed to the ``custom_credentials_method``
@@ -35,7 +35,7 @@ class CustomRefreshableSession(BaseRefreshableSession, method="custom"):
35
35
 
36
36
  Examples
37
37
  --------
38
- Write (or import) the method for obtaining temporary AWS security credentials.
38
+ Write (or import) the callable object for obtaining temporary AWS security credentials.
39
39
 
40
40
  >>> def your_custom_credential_getter(your_param, another_param):
41
41
  >>> ...
@@ -46,7 +46,7 @@ class CustomRefreshableSession(BaseRefreshableSession, method="custom"):
46
46
  >>> 'expiry_time': ...,
47
47
  >>> }
48
48
 
49
- Pass that method to ``RefreshableSession``.
49
+ Pass that callable object to ``RefreshableSession``.
50
50
 
51
51
  >>> sess = RefreshableSession(
52
52
  >>> method='custom',
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: boto3-refresh-session
3
- Version: 1.3.7
3
+ Version: 1.3.8
4
4
  Summary: A simple Python package for refreshing the temporary security credentials in a boto3.session.Session object automatically.
5
5
  License: MIT
6
6
  Keywords: boto3,botocore,aws
@@ -0,0 +1,11 @@
1
+ boto3_refresh_session/__init__.py,sha256=XCEoFDWWSsLxQBR4ck--7Bgy7oiynNr3ot_Ic0Qp_hY,200
2
+ boto3_refresh_session/custom.py,sha256=L3kQ_6e-lmIGgm1GHLngOqJOzeS-oDFoVCPTkva0-PA,3760
3
+ boto3_refresh_session/ecs.py,sha256=WIC5mlbcEnM1oo-QXmmtiw2mjFDn01hBfcFh67ku42A,3713
4
+ boto3_refresh_session/exceptions.py,sha256=qcFzdIuK5PZirs77H_Kb64S9QFb6cn2OJtirjvaRLiY,972
5
+ boto3_refresh_session/session.py,sha256=ak8lvgoHMObaJgL4c80ih4bptRHS3ASojnaWdbxn5kA,5246
6
+ boto3_refresh_session/sts.py,sha256=paIgbmn9a3cATNX-6AEGxnSGNZnX1pj4rRQmh8gQSKs,3132
7
+ boto3_refresh_session-1.3.8.dist-info/LICENSE,sha256=I3ZYTXAjbIly6bm6J-TvFTuuHwTKws4h89QaY5c5HiY,1067
8
+ boto3_refresh_session-1.3.8.dist-info/METADATA,sha256=7U9mx8VwKfsT1cer9O-hfp2avYowC-lwvyHbWqkZYFw,7033
9
+ boto3_refresh_session-1.3.8.dist-info/NOTICE,sha256=1s8r33qbl1z0YvPB942iWgvbkP94P_e8AnROr1qXXuw,939
10
+ boto3_refresh_session-1.3.8.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
11
+ boto3_refresh_session-1.3.8.dist-info/RECORD,,
@@ -1,11 +0,0 @@
1
- boto3_refresh_session/__init__.py,sha256=Uv136RK6A7H9vQ1nzXPCuIrJBbKZmH8DQaznDFduILU,200
2
- boto3_refresh_session/custom.py,sha256=0EemEoai-CnixXpFyvjmE5M9QffgBRZpMoTIwQPaxmY,3744
3
- boto3_refresh_session/ecs.py,sha256=WIC5mlbcEnM1oo-QXmmtiw2mjFDn01hBfcFh67ku42A,3713
4
- boto3_refresh_session/exceptions.py,sha256=qcFzdIuK5PZirs77H_Kb64S9QFb6cn2OJtirjvaRLiY,972
5
- boto3_refresh_session/session.py,sha256=ak8lvgoHMObaJgL4c80ih4bptRHS3ASojnaWdbxn5kA,5246
6
- boto3_refresh_session/sts.py,sha256=paIgbmn9a3cATNX-6AEGxnSGNZnX1pj4rRQmh8gQSKs,3132
7
- boto3_refresh_session-1.3.7.dist-info/LICENSE,sha256=I3ZYTXAjbIly6bm6J-TvFTuuHwTKws4h89QaY5c5HiY,1067
8
- boto3_refresh_session-1.3.7.dist-info/METADATA,sha256=ORil-xBwlFnv7oaFgiVN8XKglY9HM0A9jF_2j7LDmxY,7033
9
- boto3_refresh_session-1.3.7.dist-info/NOTICE,sha256=1s8r33qbl1z0YvPB942iWgvbkP94P_e8AnROr1qXXuw,939
10
- boto3_refresh_session-1.3.7.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
11
- boto3_refresh_session-1.3.7.dist-info/RECORD,,