You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
STS credentials for one AWS account seem to be reused when connecting to another AWS account before they expire.
I want to write a function to check limits/thresholds in multiple AWS accounts at once. The code below returns number of S3 buckets in ACCOUNT01 account correctly but it is incorrect for ACCOUNT02 account as the STS credentials from ACCOUNT01 account are reused.
@dsumsky Thanks for opening this; yeah, that's a bug and logic error on my part. I'll look at the PR later today or tomorrow, and see what I can do about tests.
Bug Report
STS credentials for one AWS account seem to be reused when connecting to another AWS account before they expire.
I want to write a function to check limits/thresholds in multiple AWS accounts at once. The code below returns number of S3 buckets in ACCOUNT01 account correctly but it is incorrect for ACCOUNT02 account as the STS credentials from ACCOUNT01 account are reused.
Testing code to reproduce the issue:
Testing Assistance
So far, I haven't been able to update
Test_Connectable
test sotox
wouldn't return any failures.Version
Reproduced on versions 0.5.1 and 0.5.0.
Installation Method
Installed with pip.
The text was updated successfully, but these errors were encountered: