-
Notifications
You must be signed in to change notification settings - Fork 198
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
Add support for Azure AD Workload Identity. #548
Add support for Azure AD Workload Identity. #548
Conversation
4035b83
to
becceeb
Compare
c501834
to
7a83912
Compare
7a83912
to
fd625b2
Compare
@werne2j It's possible to re-run Workflows. |
@jkayani Can you run the ci please, thanks |
Codecov Report
@@ Coverage Diff @@
## main #548 +/- ##
==========================================
+ Coverage 71.29% 71.71% +0.41%
==========================================
Files 26 26
Lines 1951 1962 +11
==========================================
+ Hits 1391 1407 +16
+ Misses 460 458 -2
+ Partials 100 97 -3
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
fd625b2
to
dd0b2f8
Compare
dd0b2f8
to
6d82e9d
Compare
@werne2j Can you look on please. |
Also interested in this getting merged |
Please merge this life saving PR :) |
@YvesZelros would it be possible for you to release the binary from your fork? |
Will look to get this merged for the next release. @YvesZelros can you rebase the branch? I can then kick off the CI and do a review |
d90cc4b
to
4a2fca9
Compare
@werne2j Rebase is done |
We have push temporary a amd64 binary on our Github, you can test it WITHOUT any guaranty ;-) We plan to remove this binary soon as this this PR will be merged !
|
@YvesZelros this is backwards compatible? Still works with client and tenant Id as before? |
Yes, the Azure SDK method NewDefaultAzureCredential that I use is described here As documented on Azure it support these types of auth => Option 1: Define environment variables (as the pervious version of this plugin)
Option 2: 🥇🥇 Use Workload Identity
Option 3: Use a managed identity As resume, yes AZURE_CLIENT_SECRET still work but using Azure AD Workload Identity is a better way for service authentification in Azure. |
4a2fca9
to
4695d4d
Compare
Signed-off-by: Yves Galante <yves.galante@zelros.com>
87aa110
to
c9604b0
Compare
@werne2j Any chance to merge it in 2024 ;-) ? |
This really needs to be merged. Todays code is using the deprecated (Since June 30, 2023) ADAL lib that does not recive any more security updates. |
Hello. When can we expect this to be released? |
Will try to get it released soon |
Hello @werne2j Any tentative date for release? |
When can we expect this to be released? |
@werne2j Any news? We really need a new release. |
Is there any documentation on how to implement this? Thanks |
@jserpapinto |
Description
Add support for Azure AD Workload Identity.
https://learn.microsoft.com/en-us/azure/aks/workload-identity-overview
Replace low level Azure mod autorest that is deprecated by more higth level Azure Api
https://github.com/Azure/go-autorest/blob/autorest/azure/auth/v0.5.12/README.md
Replace old PR:
Fixes:
Checklist
Please make sure that your PR fulfills the following requirements:
go mod tidy -compat=1.17
to ensure only the minimum is pulled in.Type of Change
Other information
Update Go from 17 to 18 because new tests required Go 18 as Azure function use generic