Skip to content

Using FallbackCredentialsFactory in a thead safe way #2487

Discussion options

You must be logged in to vote

but I would like to avoid having full generators lookup (with fetching creds in some cases) under lock.

@DmitryLukyanov FallbackCredentialsFactory.GetCredentials() would always go through all generators and return the first fetched credentials. I'm unsure what's your use case to avoid having full generator lookup under lock. Could you please elaborate?

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ashishdhingra
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
guidance Question that needs advice or information. response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. credentials
2 participants