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.36k stars 2k forks source link

UUF - azure-dev-docs-pr - Azure authentication with service principal #42512

Open KarlErickson opened 1 month ago

KarlErickson commented 1 month ago

Customer feedback from Unified User Feedback (UUF) tool:

Repo: azure-dev-docs-pr

Live Url: https://learn.microsoft.com/en-us/azure/developer/java/sdk/authentication/service-principal

Git Url: https://github.com/MicrosoftDocs/azure-dev-docs-pr/blob/live/articles/java/sdk/authentication/service-principal.md

Author: @g2vinay

Verbatim: The example using ClientSecretCredential says "This credential authenticates the created service principal through its client secret (password)"But the created service (in section above the code snippet) does not produce any 'client secret'. Where is someone obtaining this 'secret' from? Very unclear. And confusing because other than the secret, the other info are actually available - appId, tenantId. Please reference where this 'client secret' is being obtained from !

joshfree commented 4 weeks ago

@scottaddie could you please take a look and see if this should be rephrased for all languages?

/cc @billwert @g2vinay as fyi