Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MSI token provider doesn't allow users to configure RetryOptions #58

Open
Riddle4045 opened this issue Oct 12, 2022 · 0 comments
Open

Comments

@Riddle4045
Copy link

Riddle4045 commented Oct 12, 2022

While getting the token through MSI AzureADAuthenticator has hardcoded Exponential backoff policy.

  RetryPolicy retryPolicy = new ExponentialBackoffPolicyforMSI(3, 1000, 2);

This interval is too low, specially in cases where AKS clusters are trying to attach pod Identity, which can take longer than 8s.

Can we allow users to configure this or reuse AAD OAuth2.0 refresh token options here?

@Riddle4045 Riddle4045 changed the title MSI token flow doesn MSI token flow doesn't allow for configuration RetryOptions Oct 12, 2022
@Riddle4045 Riddle4045 changed the title MSI token flow doesn't allow for configuration RetryOptions MSI token flow doesn't allow users to configure RetryOptions Oct 12, 2022
@Riddle4045 Riddle4045 changed the title MSI token flow doesn't allow users to configure RetryOptions MSI token provider doesn't allow users to configure RetryOptions Oct 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant