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
Note: Also, just using the provider is not sufficient. One also has to call Credentials.Expire() to trigger the reload (which does not happen automatically even if the refresh time is in the credentials file).
The text was updated successfully, but these errors were encountered:
As mentioned by https://github.com/aws/aws-sdk-go/blob/b75b2a7b3cb40ece5774ed07dde44903481a2d4d/example/aws/request/customRetryer/custom_retryer.go#L31, the default credentials search path does not reload the file even if it only contains temporary credentials. This is because it creates static credentials from the values read and does not use the provider: https://sourcegraph.com/github.com/aws/aws-sdk-go/-/blob/aws/session/credentials.go?L116
I'm working on a PR to fix that.
Note: Also, just using the provider is not sufficient. One also has to call Credentials.Expire() to trigger the reload (which does not happen automatically even if the refresh time is in the credentials file).
The text was updated successfully, but these errors were encountered: