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

[Feature]: [Azure] Support certificate-based flow for requesting access token #2640

Open
lorenzo-biava opened this issue May 13, 2024 · 1 comment

Comments

@lorenzo-biava
Copy link
Contributor

Motivation

Currently only the client_secret can be used, which is an App password. They are inherently harder to rotate, and cannot be automated (e.g. in Azure through AKV, which supports auto-rotation of certificates).

Instead of only allowing for the client secret, it would be great if the certificate-based flow was supported.

Even better if the certificate could be automatically reloaded if it changes on the file system (this feature would work very well with Kubernetes Secrets Store CSI Driver, allowing an E2E automatic rotation of the App's credentials in AAD).

Possible solution

Implement the certificate-based flow to request access tokens (e.g. in

params.Add("client_secret", clientSecret)
)

Provider

azure

@lorenzo-biava
Copy link
Contributor Author

lorenzo-biava commented May 14, 2024

I guess this was already part of proposed PR #2364, and now it's beind delegated to #2390 and #2378

And this issue is basically a duplicate of #1979 , which was closed without having been implemented though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant