boto3-refresh-session 5.1.5__tar.gz → 5.1.7__tar.gz

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.
Files changed (17) hide show
  1. {boto3_refresh_session-5.1.5 → boto3_refresh_session-5.1.7}/PKG-INFO +6 -4
  2. {boto3_refresh_session-5.1.5 → boto3_refresh_session-5.1.7}/README.md +5 -3
  3. {boto3_refresh_session-5.1.5 → boto3_refresh_session-5.1.7}/boto3_refresh_session/__init__.py +1 -1
  4. {boto3_refresh_session-5.1.5 → boto3_refresh_session-5.1.7}/pyproject.toml +1 -1
  5. {boto3_refresh_session-5.1.5 → boto3_refresh_session-5.1.7}/LICENSE +0 -0
  6. {boto3_refresh_session-5.1.5 → boto3_refresh_session-5.1.7}/NOTICE +0 -0
  7. {boto3_refresh_session-5.1.5 → boto3_refresh_session-5.1.7}/boto3_refresh_session/exceptions.py +0 -0
  8. {boto3_refresh_session-5.1.5 → boto3_refresh_session-5.1.7}/boto3_refresh_session/methods/__init__.py +0 -0
  9. {boto3_refresh_session-5.1.5 → boto3_refresh_session-5.1.7}/boto3_refresh_session/methods/custom.py +0 -0
  10. {boto3_refresh_session-5.1.5 → boto3_refresh_session-5.1.7}/boto3_refresh_session/methods/iot/__init__.py +0 -0
  11. {boto3_refresh_session-5.1.5 → boto3_refresh_session-5.1.7}/boto3_refresh_session/methods/iot/core.py +0 -0
  12. {boto3_refresh_session-5.1.5 → boto3_refresh_session-5.1.7}/boto3_refresh_session/methods/iot/x509.py +0 -0
  13. {boto3_refresh_session-5.1.5 → boto3_refresh_session-5.1.7}/boto3_refresh_session/methods/sts.py +0 -0
  14. {boto3_refresh_session-5.1.5 → boto3_refresh_session-5.1.7}/boto3_refresh_session/session.py +0 -0
  15. {boto3_refresh_session-5.1.5 → boto3_refresh_session-5.1.7}/boto3_refresh_session/utils/__init__.py +0 -0
  16. {boto3_refresh_session-5.1.5 → boto3_refresh_session-5.1.7}/boto3_refresh_session/utils/internal.py +0 -0
  17. {boto3_refresh_session-5.1.5 → boto3_refresh_session-5.1.7}/boto3_refresh_session/utils/typing.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: boto3-refresh-session
3
- Version: 5.1.5
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://github.com/michaelthomasletts/boto3-refresh-session/blob/main/boto3_refresh_session/methods/sts.py).
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://github.com/michaelthomasletts/boto3-refresh-session/blob/main/boto3_refresh_session/methods/custom.py).
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://github.com/michaelthomasletts/boto3-refresh-session/blob/main/boto3_refresh_session/methods/iot/x509.py).
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
 
@@ -140,6 +140,8 @@ pip install boto3-refresh-session
140
140
 
141
141
  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.
142
142
 
143
+ 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.
144
+
143
145
  </details>
144
146
 
145
147
  <details>
@@ -213,7 +215,7 @@ pip install boto3-refresh-session
213
215
 
214
216
  ### STS
215
217
 
216
- 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://github.com/michaelthomasletts/boto3-refresh-session/blob/main/boto3_refresh_session/methods/sts.py).
218
+ 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).
217
219
 
218
220
  ```python
219
221
  import boto3_refresh_session as brs
@@ -254,7 +256,7 @@ pip install boto3-refresh-session
254
256
 
255
257
  ### Custom
256
258
 
257
- 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://github.com/michaelthomasletts/boto3-refresh-session/blob/main/boto3_refresh_session/methods/custom.py).
259
+ 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).
258
260
 
259
261
  ```python
260
262
  # create (or import) your custom credential method
@@ -287,7 +289,7 @@ pip install boto3-refresh-session
287
289
 
288
290
  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**.
289
291
 
290
- For additional information on the exact parameters that `IOTX509RefreshableSession` takes, [check this documentation](https://github.com/michaelthomasletts/boto3-refresh-session/blob/main/boto3_refresh_session/methods/iot/x509.py).
292
+ 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).
291
293
 
292
294
  ### PEM file
293
295
 
@@ -9,7 +9,7 @@ from .session import *
9
9
 
10
10
  __all__.extend(session.__all__)
11
11
  __all__.extend(exceptions.__all__)
12
- __version__ = "5.1.5"
12
+ __version__ = "5.1.7"
13
13
  __title__ = "boto3-refresh-session"
14
14
  __author__ = "Mike Letts"
15
15
  __maintainer__ = "Mike Letts"
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "boto3-refresh-session"
3
- version = "5.1.5"
3
+ version = "5.1.7"
4
4
  description = "A simple Python package for refreshing the temporary security credentials in a boto3.session.Session object automatically."
5
5
  authors = [
6
6
  {name = "Mike Letts",email = "lettsmt@gmail.com"}