console icon indicating copy to clipboard operation
console copied to clipboard

backend: refresh aws creds when using iam auth after token expiration

Open mislavmandaricaxilis opened this issue 1 year ago • 2 comments

Currently, when AWS IAM auth fetches token, it only does so once on startup and the same token is reused. This change introduces refresh mechanism by retrieving the token asynchronously when it's needed by the kafka auth system.

Token is internally cached and reused until it expires. Once it expires, a new token is fetched and used.

mislavmandaricaxilis avatar May 10 '24 11:05 mislavmandaricaxilis

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar May 10 '24 11:05 CLAassistant

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar May 10 '24 11:05 CLAassistant