boto3-refresh-session is live! #1
michaelthomasletts
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, everyone!
Although this project is obviously small, I believe it nevertheless serves a helpful function for engineers working with
boto3
. That helpful function being this: it is not uncommon for pipelines and workflows that interact with the AWS API viaboto3
to run for a long time and, accordingly, for temporary credentials to expire. Usually, engineers resolve that problem one of two ways: withtry except
blocks that catchClientError
exceptions or a similar approach as that used in this project -- that is, using methods available withinbotocore
for refreshing temporary credentials automatically. Speaking personally, variations of the code found herein exists in code bases at nearly every company where I have worked. Sometimes, I turned that code into a module; other times, I wrote it from scratch. Noticing a pattern, I decided to finally turn that code into a proper Python package with unit testing, documentation, and quality checks; the idea being that, henceforth, depending on my employer's open source policy, I may simply import this package instead of reproducing the code herein for the Nth time.As any other project, please use the Issues section of this project to raise concerns or share feedback. Or, of course, you are also free to respond to this announcement!
I sincerely hope you all find this project helpful in whatever it is that you do with
boto3
!Thanks!
Mike Letts
Beta Was this translation helpful? Give feedback.
All reactions