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

Enable access token cache. #23847

Merged
merged 24 commits into from
Sep 22, 2021
Merged

Conversation

michaelqi793
Copy link
Contributor

Fixes #23473

@michaelqi793 michaelqi793 self-assigned this Aug 31, 2021
@ghost ghost added KeyVault azure-spring All azure-spring related issues labels Aug 31, 2021
@chenrujun
Copy link

Hi, @michaelqi793 , if this PR is ready to ready for review, please click Ready for review button.

@vcolin7
Copy link
Member

vcolin7 commented Sep 18, 2021

I haven't looked at the implementation yet, but here's the class we use from Azure Core that handles this type of authentication: BearerTokenAuthenticationPolicy. Hope it helps for something :P

@michaelqi793
Copy link
Contributor Author

I haven't looked at the implementation yet, but here's the class we use from Azure Core that handles this type of authentication: BearerTokenAuthenticationPolicy. Hope it helps for something :P

Thanks Vcolin! key vault jca should be light, it does not use this chain of responsibility currently.

Copy link

@chenrujun chenrujun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@michaelqi793 michaelqi793 merged commit c0e1704 into Azure:main Sep 22, 2021
@chenrujun chenrujun changed the title Kv jca cache token Enable access token cache. Sep 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
azure-spring All azure-spring related issues KeyVault
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Azure Keyvault JCA gets access token remotely every time it visits key vault.
4 participants