Refresh AWS credentials when receiving 401 or 403 responses
Open
connection
fundamental
infrastructure
reliability
- Dominant language
- TypeScript
- Stars
- 481
- Forks
- 108
- Avg merge
- 6d 8h
- Merged PRs (30d)
- 5
Description
The proxy server caches the AWS credentials so it is not requesting them for every request. But if the credentials expire, the proxy server must be restarted.
Instead, we should watch for 401 or 403 responses. If encountered, we should ignore the cached credentials and retry. If we continue to get errors, then bubble those up.
Contributor guide
Assessment
This issue has not been assessed yet.