Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide direct mechanism to clear shared INI cache #1274

Open
DavidSouther opened this issue May 10, 2024 · 0 comments
Open

Provide direct mechanism to clear shared INI cache #1274

DavidSouther opened this issue May 10, 2024 · 0 comments

Comments

@DavidSouther
Copy link

In the JS SDK, is there a way to force fromIni credentials to refresh while using the default provider chain?

Use case: in a long running application, Customer tries an action, gets "credentials expired" response, does something to update them (credentials_process, aws configure), and then tries again. Or maybe they change their region. Currently, fromIni will have cached the original files. How do I get the shared file credentials to refresh so I can retry the operation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant