boto3-refresh-session 1.0.33__py3-none-any.whl → 1.0.35__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-1.0.33.dist-info → boto3_refresh_session-1.0.35.dist-info}/METADATA +23 -19
- boto3_refresh_session-1.0.35.dist-info/RECORD +7 -0
- boto3_refresh_session-1.0.33.dist-info/RECORD +0 -7
- {boto3_refresh_session-1.0.33.dist-info → boto3_refresh_session-1.0.35.dist-info}/LICENSE +0 -0
- {boto3_refresh_session-1.0.33.dist-info → boto3_refresh_session-1.0.35.dist-info}/NOTICE +0 -0
- {boto3_refresh_session-1.0.33.dist-info → boto3_refresh_session-1.0.35.dist-info}/WHEEL +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: boto3-refresh-session
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.35
|
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
|
@@ -36,7 +36,7 @@ Description-Content-Type: text/markdown
|
|
36
36
|
<div align="center">
|
37
37
|
|
38
38
|
<a href="https://pypi.org/project/boto3-refresh-session/">
|
39
|
-
<img src="https://img.shields.io/pypi/v/boto3-refresh-session?color=%23FF0000FF" alt="PyPI - Version"/>
|
39
|
+
<img src="https://img.shields.io/pypi/v/boto3-refresh-session?color=%23FF0000FF&logo=python" alt="PyPI - Version"/>
|
40
40
|
</a>
|
41
41
|
|
42
42
|
<a href="https://github.com/michaelthomasletts/boto3-refresh-session/actions/workflows/push.yml">
|
@@ -44,7 +44,7 @@ Description-Content-Type: text/markdown
|
|
44
44
|
</a>
|
45
45
|
|
46
46
|
<a href="https://pypi.org/project/boto3-refresh-session/">
|
47
|
-
<img src="https://img.shields.io/pypi/pyversions/boto3-refresh-session?style=pypi&color=%23FF0000FF" alt="Python Version"/>
|
47
|
+
<img src="https://img.shields.io/pypi/pyversions/boto3-refresh-session?style=pypi&color=%23FF0000FF&logo=python" alt="Python Version"/>
|
48
48
|
</a>
|
49
49
|
|
50
50
|
<a href="https://github.com/michaelthomasletts/boto3-refresh-session/commits/main">
|
@@ -55,20 +55,32 @@ Description-Content-Type: text/markdown
|
|
55
55
|
<img src="https://img.shields.io/badge/downloads-45.6K-red?logo=python&color=%23FF0000" alt="Downloads"/>
|
56
56
|
</a>
|
57
57
|
|
58
|
-
|
58
|
+
<a href="https://michaelthomasletts.github.io/boto3-refresh-session/index.html">
|
59
|
+
<img src="https://img.shields.io/badge/official%20documentation-📘-FF0000?style=flat&labelColor=555&logo=readthedocs" alt="Documentation Badge"/>
|
60
|
+
</a>
|
61
|
+
|
62
|
+
<a href="https://github.com/michaelthomasletts/boto3-refresh-session">
|
63
|
+
<img src="https://img.shields.io/badge/source%20code-💻-FF0000?style=flat&labelColor=555&logo=github" alt="Source Code Badge"/>
|
64
|
+
</a>
|
65
|
+
|
66
|
+
<a href="https://michaelthomasletts.github.io/boto3-refresh-session/qanda.html">
|
67
|
+
<img src="https://img.shields.io/badge/Q%26A-❓-FF0000?style=flat&labelColor=555&logo=vercel" alt="Q&A Badge"/>
|
68
|
+
</a>
|
59
69
|
|
70
|
+
</div>
|
60
71
|
|
61
|
-
##
|
72
|
+
## Features
|
62
73
|
|
63
|
-
-
|
64
|
-
-
|
65
|
-
-
|
66
|
-
-
|
67
|
-
-
|
68
|
-
- [Authorization](https://michaelthomasletts.github.io/boto3-refresh-session/authorization.html)
|
74
|
+
- Auto-refreshing credentials for long-lived `boto3` sessions
|
75
|
+
- Drop-in replacement for `boto3.session.Session`
|
76
|
+
- Supports `assume_role` configuration, custom STS clients, and profile / region configuration, as well as all other parameters supported by `boto3.session.Session`
|
77
|
+
- Tested, documented, and published to PyPI
|
78
|
+
- Used in production at major tech companies
|
69
79
|
|
70
80
|
## Adoption
|
71
81
|
|
82
|
+
The following line plot illustrates the adoption of BRS in terms of total downloads over a rolling seven day window since the inception of BRS.
|
83
|
+
|
72
84
|
<p align="center">
|
73
85
|
<img src="https://raw.githubusercontent.com/michaelthomasletts/boto3-refresh-session/refs/heads/main/doc/downloads.png" />
|
74
86
|
</p>
|
@@ -79,14 +91,6 @@ From a Cyber Security Engineer at a FAANG company:
|
|
79
91
|
|
80
92
|
> _Most of my work is on tooling related to AWS security, so I'm pretty choosy about boto3 credentials-adjacent code. I often opt to just write this sort of thing myself so I at least know that I can reason about it. But I found boto3-refresh-session to be very clean and intuitive . . . we're using the RefreshableSession class as part of a client cache construct . . . we're using AWS Lambda to perform lots of operations across several regions in hundreds of accounts, over and over again, all day every day. And it turns out that there's a surprising amount of overhead to creating boto3 clients (mostly deserializing service definition json), so we can run MUCH more efficiently if we keep a cache of clients, all equipped with automatically refreshing sessions._
|
81
93
|
|
82
|
-
## Features
|
83
|
-
|
84
|
-
- Auto-refreshing credentials for long-lived `boto3` sessions
|
85
|
-
- Drop-in replacement for `boto3.session.Session`
|
86
|
-
- Supports `assume_role`, custom STS clients, and profile/region configuration, as well as all other parameters supported by `boto3.session.Session`
|
87
|
-
- Tested, documented, and published to PyPI
|
88
|
-
- Used in production at major tech companies
|
89
|
-
|
90
94
|
## Installation
|
91
95
|
|
92
96
|
```bash
|
@@ -0,0 +1,7 @@
|
|
1
|
+
boto3_refresh_session/__init__.py,sha256=H6h3e55Z3ldJPWZb7I8l0CeTFJ2Rt_sxquGPe5Jfr4I,158
|
2
|
+
boto3_refresh_session/session.py,sha256=jDSjEHIZkGvMEOKzCtcOT7j41rOOoR_tei_dffS0Cww,5887
|
3
|
+
boto3_refresh_session-1.0.35.dist-info/LICENSE,sha256=I3ZYTXAjbIly6bm6J-TvFTuuHwTKws4h89QaY5c5HiY,1067
|
4
|
+
boto3_refresh_session-1.0.35.dist-info/METADATA,sha256=2z6mG3dvERC2g6HbmAMZ4xWMfr0K522Zj78Jme9gVL8,6797
|
5
|
+
boto3_refresh_session-1.0.35.dist-info/NOTICE,sha256=1s8r33qbl1z0YvPB942iWgvbkP94P_e8AnROr1qXXuw,939
|
6
|
+
boto3_refresh_session-1.0.35.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
7
|
+
boto3_refresh_session-1.0.35.dist-info/RECORD,,
|
@@ -1,7 +0,0 @@
|
|
1
|
-
boto3_refresh_session/__init__.py,sha256=-cHFElXfk064g5Xdna5IyG7CuRv-nfjyoNnqnhA1IXw,158
|
2
|
-
boto3_refresh_session/session.py,sha256=jDSjEHIZkGvMEOKzCtcOT7j41rOOoR_tei_dffS0Cww,5887
|
3
|
-
boto3_refresh_session-1.0.33.dist-info/LICENSE,sha256=I3ZYTXAjbIly6bm6J-TvFTuuHwTKws4h89QaY5c5HiY,1067
|
4
|
-
boto3_refresh_session-1.0.33.dist-info/METADATA,sha256=2EA8_x2LVeBvtTzfMmgV5t6lmjssvePBKiFjIUAaF80,6462
|
5
|
-
boto3_refresh_session-1.0.33.dist-info/NOTICE,sha256=1s8r33qbl1z0YvPB942iWgvbkP94P_e8AnROr1qXXuw,939
|
6
|
-
boto3_refresh_session-1.0.33.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
7
|
-
boto3_refresh_session-1.0.33.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|