boto3-refresh-session 3.0.0__tar.gz → 3.0.1__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.
- {boto3_refresh_session-3.0.0 → boto3_refresh_session-3.0.1}/PKG-INFO +8 -8
- {boto3_refresh_session-3.0.0 → boto3_refresh_session-3.0.1}/README.md +7 -7
- {boto3_refresh_session-3.0.0 → boto3_refresh_session-3.0.1}/boto3_refresh_session/__init__.py +1 -1
- {boto3_refresh_session-3.0.0 → boto3_refresh_session-3.0.1}/pyproject.toml +1 -1
- {boto3_refresh_session-3.0.0 → boto3_refresh_session-3.0.1}/LICENSE +0 -0
- {boto3_refresh_session-3.0.0 → boto3_refresh_session-3.0.1}/NOTICE +0 -0
- {boto3_refresh_session-3.0.0 → boto3_refresh_session-3.0.1}/boto3_refresh_session/exceptions.py +0 -0
- {boto3_refresh_session-3.0.0 → boto3_refresh_session-3.0.1}/boto3_refresh_session/methods/__init__.py +0 -0
- {boto3_refresh_session-3.0.0 → boto3_refresh_session-3.0.1}/boto3_refresh_session/methods/custom.py +0 -0
- {boto3_refresh_session-3.0.0 → boto3_refresh_session-3.0.1}/boto3_refresh_session/methods/ecs.py +0 -0
- {boto3_refresh_session-3.0.0 → boto3_refresh_session-3.0.1}/boto3_refresh_session/methods/iot/__init__.typed +0 -0
- {boto3_refresh_session-3.0.0 → boto3_refresh_session-3.0.1}/boto3_refresh_session/methods/iot/certificate.typed +0 -0
- {boto3_refresh_session-3.0.0 → boto3_refresh_session-3.0.1}/boto3_refresh_session/methods/iot/cognito.typed +0 -0
- {boto3_refresh_session-3.0.0 → boto3_refresh_session-3.0.1}/boto3_refresh_session/methods/iot/core.typed +0 -0
- {boto3_refresh_session-3.0.0 → boto3_refresh_session-3.0.1}/boto3_refresh_session/methods/sts.py +0 -0
- {boto3_refresh_session-3.0.0 → boto3_refresh_session-3.0.1}/boto3_refresh_session/session.py +0 -0
- {boto3_refresh_session-3.0.0 → boto3_refresh_session-3.0.1}/boto3_refresh_session/utils/__init__.py +0 -0
- {boto3_refresh_session-3.0.0 → boto3_refresh_session-3.0.1}/boto3_refresh_session/utils/internal.py +0 -0
- {boto3_refresh_session-3.0.0 → boto3_refresh_session-3.0.1}/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: 3.0.
|
3
|
+
Version: 3.0.1
|
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,ecs,credentials,token,refresh
|
@@ -117,7 +117,7 @@ Description-Content-Type: text/markdown
|
|
117
117
|
|
118
118
|
</div>
|
119
119
|
|
120
|
-
##
|
120
|
+
## 😛 Features
|
121
121
|
|
122
122
|
- Drop-in replacement for `boto3.session.Session`
|
123
123
|
- Supports automatic credential refresh methods for various AWS services:
|
@@ -130,19 +130,19 @@ Description-Content-Type: text/markdown
|
|
130
130
|
|
131
131
|
## ⚠️ Important Updates
|
132
132
|
|
133
|
-
#### v3.0.0
|
133
|
+
#### 😥 v3.0.0
|
134
134
|
|
135
|
-
**The changes
|
135
|
+
**The changes introduced by v3.0.0 will not impact ~99% of users** who generally interact with `boto3-refresh-session` by only `RefreshableSession`, *which is the intended usage for this package after all.*
|
136
136
|
|
137
137
|
Advanced users, however, particularly those using low-level objects such as `BaseRefreshableSession | refreshable_session | BRSSession | utils.py`, may experience breaking changes.
|
138
138
|
|
139
139
|
Please review [this PR](https://github.com/michaelthomasletts/boto3-refresh-session/pull/75) for additional details.
|
140
140
|
|
141
|
-
#### Delayed Responses
|
141
|
+
#### ☎️ Delayed Responses
|
142
142
|
|
143
143
|
I am currently grappling with a very serious medical condition. Accordingly, expect delayed responses to issues and requests until my health stabilizes.
|
144
144
|
|
145
|
-
##
|
145
|
+
## 😌 Recognition and Testimonials
|
146
146
|
|
147
147
|
[Featured in TL;DR Sec.](https://tldrsec.com/p/tldr-sec-282)
|
148
148
|
|
@@ -154,13 +154,13 @@ A testimonial from a Cyber Security Engineer at a FAANG company:
|
|
154
154
|
|
155
155
|
> _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._
|
156
156
|
|
157
|
-
##
|
157
|
+
## 💻 Installation
|
158
158
|
|
159
159
|
```bash
|
160
160
|
pip install boto3-refresh-session
|
161
161
|
```
|
162
162
|
|
163
|
-
##
|
163
|
+
## 📝 Usage
|
164
164
|
|
165
165
|
<details>
|
166
166
|
<summary><strong>STS (click to expand)</strong></summary>
|
@@ -92,7 +92,7 @@
|
|
92
92
|
|
93
93
|
</div>
|
94
94
|
|
95
|
-
##
|
95
|
+
## 😛 Features
|
96
96
|
|
97
97
|
- Drop-in replacement for `boto3.session.Session`
|
98
98
|
- Supports automatic credential refresh methods for various AWS services:
|
@@ -105,19 +105,19 @@
|
|
105
105
|
|
106
106
|
## ⚠️ Important Updates
|
107
107
|
|
108
|
-
#### v3.0.0
|
108
|
+
#### 😥 v3.0.0
|
109
109
|
|
110
|
-
**The changes
|
110
|
+
**The changes introduced by v3.0.0 will not impact ~99% of users** who generally interact with `boto3-refresh-session` by only `RefreshableSession`, *which is the intended usage for this package after all.*
|
111
111
|
|
112
112
|
Advanced users, however, particularly those using low-level objects such as `BaseRefreshableSession | refreshable_session | BRSSession | utils.py`, may experience breaking changes.
|
113
113
|
|
114
114
|
Please review [this PR](https://github.com/michaelthomasletts/boto3-refresh-session/pull/75) for additional details.
|
115
115
|
|
116
|
-
#### Delayed Responses
|
116
|
+
#### ☎️ Delayed Responses
|
117
117
|
|
118
118
|
I am currently grappling with a very serious medical condition. Accordingly, expect delayed responses to issues and requests until my health stabilizes.
|
119
119
|
|
120
|
-
##
|
120
|
+
## 😌 Recognition and Testimonials
|
121
121
|
|
122
122
|
[Featured in TL;DR Sec.](https://tldrsec.com/p/tldr-sec-282)
|
123
123
|
|
@@ -129,13 +129,13 @@ A testimonial from a Cyber Security Engineer at a FAANG company:
|
|
129
129
|
|
130
130
|
> _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._
|
131
131
|
|
132
|
-
##
|
132
|
+
## 💻 Installation
|
133
133
|
|
134
134
|
```bash
|
135
135
|
pip install boto3-refresh-session
|
136
136
|
```
|
137
137
|
|
138
|
-
##
|
138
|
+
## 📝 Usage
|
139
139
|
|
140
140
|
<details>
|
141
141
|
<summary><strong>STS (click to expand)</strong></summary>
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[project]
|
2
2
|
name = "boto3-refresh-session"
|
3
|
-
version = "3.0.
|
3
|
+
version = "3.0.1"
|
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"}
|
File without changes
|
File without changes
|
{boto3_refresh_session-3.0.0 → boto3_refresh_session-3.0.1}/boto3_refresh_session/exceptions.py
RENAMED
File without changes
|
File without changes
|
{boto3_refresh_session-3.0.0 → boto3_refresh_session-3.0.1}/boto3_refresh_session/methods/custom.py
RENAMED
File without changes
|
{boto3_refresh_session-3.0.0 → boto3_refresh_session-3.0.1}/boto3_refresh_session/methods/ecs.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{boto3_refresh_session-3.0.0 → boto3_refresh_session-3.0.1}/boto3_refresh_session/methods/sts.py
RENAMED
File without changes
|
{boto3_refresh_session-3.0.0 → boto3_refresh_session-3.0.1}/boto3_refresh_session/session.py
RENAMED
File without changes
|
{boto3_refresh_session-3.0.0 → boto3_refresh_session-3.0.1}/boto3_refresh_session/utils/__init__.py
RENAMED
File without changes
|
{boto3_refresh_session-3.0.0 → boto3_refresh_session-3.0.1}/boto3_refresh_session/utils/internal.py
RENAMED
File without changes
|
{boto3_refresh_session-3.0.0 → boto3_refresh_session-3.0.1}/boto3_refresh_session/utils/typing.py
RENAMED
File without changes
|