Skip to content

Automatically refreshing credentials with STS AssumeRole for API Gateway request signing #1177

Answered by ysaito1001
avandesa-fw asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for posting! Normally, you'd reach out something like AssumeRoleProvider, create an instance of it, and pass it to the credentials_provider method on ConfigLoader. Once you constructed a service client from ConfigLoader, then that AssumeRoleProvider would be backed by an identity cache (ex. lazy identity cache). This cache keeps track of credentials' expiry and it automatically refreshes credentials when they're about to expire.

Do you use ConfigLoader to create a service client? If not, how do you construct a service client currently?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jmklix
Comment options

Answer selected by jmklix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
response-requested Waiting on additional info and feedback. Will move to 'closing-soon' in 7 days.
3 participants