The Curse of The Hour
Session management in AWS is complicated, especially when authenticating with IAM roles. A common way to obtain AW...
For further actions, you may consider blocking this person and/or reporting abuse
For future visitors:
RefreshableCredentials
isn't documented, but can be found in the source code.@li_chastina Thanks fir the snippets!
But one question: in order to refresh credentials do we need to call
autorefresh_session.client
each time we use a client functions or its enough to always usedb_client
reference and credentials refreshed automatically?When I use this sample and print session info, looks like its generating a new credentials on every resource request !
This post made my day.
Thanks For this great article. I am trying to use this code for S3 bucket listing and upload. I have two issues. I see that when I try to list bucket, it seems to again refresh credentials every time.
Also when trying to list bucket contents, it just gets stuck foerver without a response.
This really worked for me. You helped me a lot. Thank you Chastina!
I will post again if i find something interesting about this botocore class.
Perfect, thank you!!
Very useful
Thanks for sharing
Would you be able to share the full class code here?
Good one
Nice find and great post!
This is great!
Thanks Chastina, this post saves me.