MicrosoftDocs / azure-aks-docs

Public sync with private repo azure-aks-docs-pr
Creative Commons Attribution 4.0 International
3 stars 60 forks source link

AKS Learn feedback: Code samples should show usage of `WorkloadIdentityCredential` #80

Open wilyle opened 3 weeks ago

wilyle commented 3 weeks ago

Type of issue

Missing information

Feedback

When using the Azure Identity library, it's recommended to only use DefaultAzureCredential for testing purposes. For example, the C++ docs state the following:

Note: DefaultAzureCredential is intended to simplify getting started with the SDK by handling common scenarios with reasonable default behaviors. It is not recommended to use it in production. Developers who want more control or whose scenario isn't served by the default settings should use other credential types.

Thus, the documentation should be updated to show the proper usage of WorkloadIdentityCredential in addition to or instead of the DefaultAzureCredential.

Page URL

https://learn.microsoft.com/en-us/azure/aks/workload-identity-overview?tabs=dotnet

Content source URL

https://github.com/MicrosoftDocs/azure-aks-docs/blob/main/articles/aks/workload-identity-overview.md

Author

@tamram

Document Id

f1e18be4-3bb1-89fb-42d7-0735744ee734