Skip to content

Does AssumeRoleProvider refresh expired credentials? #1055

Answered by ysaito1001
lcmgh asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @lcmgh, to answer your question, yes credentials will get refreshed. To be more precise, given the provided code snippet above, the AssumeRoleProvider will be backed by LazyCache whose resolve_cached_identity method will internally call AssumeRoleProvider::provide_credentials as credentials get close to their expiration times.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lcmgh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants