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 REQ] Change Azure Key Vault JCA authentication to use Azure Identity with Credential #44511

Open
2 tasks done
ecnabogs opened this issue Mar 5, 2025 · 1 comment
Open
2 tasks done
Assignees
Labels
azure-spring All azure-spring related issues azure-spring-jca customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone

Comments

@ecnabogs
Copy link

ecnabogs commented Mar 5, 2025

Is your feature request related to a problem? Please describe.
I'm trying to use the Azure KeyVault JCA library on AKS but I cannot manage to make it work, at least I did not find the proper documentation that would help me to do so. I properly got it to work on AppService using a managed identity but on AKS, I get confused how to authenticate. The library seems to support the service principal (tenandId, clientId, secretId) and managed identity authentication schemes but not the new workload identity. I am also stuck when deploying locally since the library does not support authentication through my own credentials.

Describe the solution you'd like
I would like to be able to authenticate to the Azure KeyVault JCA library as I can already do with almost all other Azure libraries, such as Azure KeyVault Certificates, using the concept of Credential as provided by the Azure Identity library. Specifically I would like to use the versatile DefaultAzureCredential implementation that would allow an all-in-one solution for authentication.
I think it would also harmonize this Azure library with its counterparts for other resources.

Describe alternatives you've considered
None since I am stuck with this library on AKS. Is there a way to make workload identity and identity federation to work with Azure KeyVault JCA on Kubernetes ?

Additional context
None.

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

  • Description Added
  • Expected solution specified
@github-actions github-actions bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Mar 5, 2025
@joshfree joshfree added azure-spring All azure-spring related issues azure-spring-jca labels Mar 5, 2025
@github-actions github-actions bot removed the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Mar 5, 2025
@joshfree
Copy link
Member

joshfree commented Mar 5, 2025

Thanks for taking the time to file this issue, @ecnabogs. @saragluna will follow up shortly.

@saragluna saragluna added this to the 2025-04 milestone Mar 5, 2025
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 azure-spring-jca customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
Status: Todo
Development

No branches or pull requests

3 participants