Azure / azure-sdk-for-java

This repository is for active development of the Azure SDK for Java. For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/java/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-java.
MIT License
2.26k stars 1.94k forks source link

[FEATURE REQ] Authenticating a service principal with a federation token #37067

Open nv-sankalpk opened 9 months ago

nv-sankalpk commented 9 months ago

Authenticating a service principal with a federation token Azure CLI has a way to authenticate to the service principal using the federation token, but I do not see any ClientFederationTokenBuilder class similar to ClientSecretCredentialBuilder and ClientCertificateCredentialBuilder. az login --service-principal -u -t --federated-token

Can you please add the support for authenticating Service Principal using federation in Azure Java SDK.

joshfree commented 9 months ago

Thanks for filing this request, @nv-sankalpk. @g2vinay @billwert could you please take a look as a potential improvement for next semester