boto3-refresh-session 5.1.5__py3-none-any.whl → 5.1.7__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.
- boto3_refresh_session/__init__.py +1 -1
- {boto3_refresh_session-5.1.5.dist-info → boto3_refresh_session-5.1.7.dist-info}/METADATA +6 -4
- {boto3_refresh_session-5.1.5.dist-info → boto3_refresh_session-5.1.7.dist-info}/RECORD +6 -6
- {boto3_refresh_session-5.1.5.dist-info → boto3_refresh_session-5.1.7.dist-info}/LICENSE +0 -0
- {boto3_refresh_session-5.1.5.dist-info → boto3_refresh_session-5.1.7.dist-info}/NOTICE +0 -0
- {boto3_refresh_session-5.1.5.dist-info → boto3_refresh_session-5.1.7.dist-info}/WHEEL +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: boto3-refresh-session
|
3
|
-
Version: 5.1.
|
3
|
+
Version: 5.1.7
|
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,sts,credentials,token,refresh,iot,x509,mqtt
|
@@ -167,6 +167,8 @@ pip install boto3-refresh-session
|
|
167
167
|
|
168
168
|
5. Irrespective of whatever `method` you pass as a keyword parameter, `RefreshableSession` accepts a keyword parameter named `defer_refresh`. Basically, this boolean tells `boto3-refresh-session` either to refresh credentials *the moment they expire* or to *wait until credentials are explicitly needed*. If you are working in a low-latency environment then `defer_refresh = False` might be helpful. For most users, however, `defer_refresh = True` is most desirable. For that reason, `defer_refresh = True` is the default value. Most users, therefore, should not concern themselves too much with this feature.
|
169
169
|
|
170
|
+
6. Some developers struggle to imagine where `boto3-refresh-session` might be helpful. To figure out if `boto3-refresh-session` is for your use case, or whether `credential_process` satisfies your needs, check out [this blog post](https://michaelthomasletts.com/blog/brs-rationale/). `boto3-refresh-session` is not for every developer or use-case; it is a niche tool.
|
171
|
+
|
170
172
|
</details>
|
171
173
|
|
172
174
|
<details>
|
@@ -240,7 +242,7 @@ pip install boto3-refresh-session
|
|
240
242
|
|
241
243
|
### STS
|
242
244
|
|
243
|
-
Most developers use AWS STS to assume an IAM role and return a set of temporary security credentials. boto3-refresh-session can be used to ensure those temporary credentials refresh automatically. For additional information on the exact parameters that `RefreshableSession` takes for STS, [check this documentation](https://
|
245
|
+
Most developers use AWS STS to assume an IAM role and return a set of temporary security credentials. boto3-refresh-session can be used to ensure those temporary credentials refresh automatically. For additional information on the exact parameters that `RefreshableSession` takes for STS, [check this documentation](https://michaelthomasletts.com/boto3-refresh-session/modules/generated/boto3_refresh_session.methods.sts.STSRefreshableSession.html).
|
244
246
|
|
245
247
|
```python
|
246
248
|
import boto3_refresh_session as brs
|
@@ -281,7 +283,7 @@ pip install boto3-refresh-session
|
|
281
283
|
|
282
284
|
### Custom
|
283
285
|
|
284
|
-
If you have a highly sophisticated, novel, or idiosyncratic authentication flow not included in boto3-refresh-session then you will need to provide your own custom temporary credentials callable object. `RefreshableSession` accepts custom credentials callable objects, as shown below. For additional information on the exact parameters that `RefreshableSession` takes for custom authentication flows, [check this documentation](https://
|
286
|
+
If you have a highly sophisticated, novel, or idiosyncratic authentication flow not included in boto3-refresh-session then you will need to provide your own custom temporary credentials callable object. `RefreshableSession` accepts custom credentials callable objects, as shown below. For additional information on the exact parameters that `RefreshableSession` takes for custom authentication flows, [check this documentation](https://michaelthomasletts.com/boto3-refresh-session/modules/generated/boto3_refresh_session.methods.custom.CustomRefreshableSession.html#boto3_refresh_session.methods.custom.CustomRefreshableSession).
|
285
287
|
|
286
288
|
```python
|
287
289
|
# create (or import) your custom credential method
|
@@ -314,7 +316,7 @@ pip install boto3-refresh-session
|
|
314
316
|
|
315
317
|
AWS IoT Core can vend temporary AWS credentials through the **credentials provider** when you connect with an X.509 certificate and a **role alias**. `boto3-refresh-session` makes this flow seamless by automatically refreshing credentials over **mTLS**.
|
316
318
|
|
317
|
-
For additional information on the exact parameters that `IOTX509RefreshableSession` takes, [check this documentation](https://
|
319
|
+
For additional information on the exact parameters that `IOTX509RefreshableSession` takes, [check this documentation](https://michaelthomasletts.com/boto3-refresh-session/modules/generated/boto3_refresh_session.methods.iot.IOTX509RefreshableSession.html).
|
318
320
|
|
319
321
|
### PEM file
|
320
322
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
boto3_refresh_session/__init__.py,sha256=
|
1
|
+
boto3_refresh_session/__init__.py,sha256=RxnMOr7aLlWvDaSipwp1oaXBTMyXzT5m0ncZuK41CqE,415
|
2
2
|
boto3_refresh_session/exceptions.py,sha256=QS5_xy3hNrfkdT_wKPZWH8WqSbFYCKPcK8DomGYIvcU,1218
|
3
3
|
boto3_refresh_session/methods/__init__.py,sha256=FpwWixSVpy_6pUe1u4fXmjO-_fDH--qTk_xrMnBCHxU,193
|
4
4
|
boto3_refresh_session/methods/custom.py,sha256=MLdUMU9s6NQoJWBKQ5Fsxeyxb_Xrm9V59pVX22M8fyI,4178
|
@@ -10,8 +10,8 @@ boto3_refresh_session/session.py,sha256=UM_dWHSo0Wn8gLN99zg36SRVb-Yy_to1wk8UgZEu
|
|
10
10
|
boto3_refresh_session/utils/__init__.py,sha256=6F2ErbgBT2ZmZwFF3OzvQEd1Vh4XM3kaL6YGMTrcrkQ,156
|
11
11
|
boto3_refresh_session/utils/internal.py,sha256=HbuIzT0pC8QS4pgNj3M7POGaW-OEz2l3ESfYI1Qouuo,7072
|
12
12
|
boto3_refresh_session/utils/typing.py,sha256=YbnVYPe-ZEr79THp78u74PzF6LOIxpf91yGsvBmhEBM,3532
|
13
|
-
boto3_refresh_session-5.1.
|
14
|
-
boto3_refresh_session-5.1.
|
15
|
-
boto3_refresh_session-5.1.
|
16
|
-
boto3_refresh_session-5.1.
|
17
|
-
boto3_refresh_session-5.1.
|
13
|
+
boto3_refresh_session-5.1.7.dist-info/LICENSE,sha256=I3ZYTXAjbIly6bm6J-TvFTuuHwTKws4h89QaY5c5HiY,1067
|
14
|
+
boto3_refresh_session-5.1.7.dist-info/METADATA,sha256=J6odfiLj_95nDbh4OhK_mE6pvIVBUtVLcqLcXlbNDfc,19118
|
15
|
+
boto3_refresh_session-5.1.7.dist-info/NOTICE,sha256=1s8r33qbl1z0YvPB942iWgvbkP94P_e8AnROr1qXXuw,939
|
16
|
+
boto3_refresh_session-5.1.7.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
17
|
+
boto3_refresh_session-5.1.7.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|