You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/aks/workload-identity-overview.md
+20-15Lines changed: 20 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: Use an Azure AD workload identities (preview) on Azure Kubernetes Service (AKS)
3
3
description: Learn about Azure Active Directory workload identity (preview) for Azure Kubernetes Service (AKS) and how to migrate your application to authenticate using this identity.
4
4
ms.topic: article
5
-
ms.date: 04/18/2023
5
+
ms.date: 04/19/2023
6
6
7
7
---
8
8
@@ -12,7 +12,7 @@ Workloads deployed on an Azure Kubernetes Services (AKS) cluster require Azure A
12
12
13
13
[Azure AD workload identity][azure-ad-workload-identity] uses [Service Account Token Volume Projection][service-account-token-volume-projection] enabling pods to use a Kubernetes identity (that is, a service account). A Kubernetes token is issued and [OIDC federation][oidc-federation] enables Kubernetes applications to access Azure resources securely with Azure AD based on annotated service accounts.
14
14
15
-
Azure AD workload identity works especially well with the Azure Identity client library using the [Azure SDK][azure-sdk-download] and the [Microsoft Authentication Library][microsoft-authentication-library] (MSAL) if you're using [application registration][azure-ad-application-registration]. Your workload can use any of these libraries to seamlessly authenticate and access Azure cloud resources.
15
+
Azure AD workload identity works especially well with the [Azure Identity client libraries](#azure-identity-client-libraries) and the [Microsoft Authentication Library][microsoft-authentication-library] (MSAL) collection if you're using [application registration][azure-ad-application-registration]. Your workload can use any of these libraries to seamlessly authenticate and access Azure cloud resources.
16
16
17
17
This article helps you understand this new authentication feature, and reviews the options available to plan your project strategy and potential migration from Azure AD pod-managed identity.
18
18
@@ -22,29 +22,35 @@ This article helps you understand this new authentication feature, and reviews t
22
22
23
23
- The Azure CLI version 2.47.0 or later. Run `az --version` to find the version, and run `az upgrade` to upgrade the version. If you need to install or upgrade, see [Install Azure CLI][install-azure-cli].
24
24
25
-
## Azure Identity SDK
25
+
## Azure Identity client libraries
26
26
27
-
The following client libraries are the **minimum** version required
27
+
In the Azure Identity client libraries, choose one of the following approaches:
28
+
29
+
- Use `DefaultAzureCredential`, which will attempt to use the `WorkloadIdentityCredential`.
30
+
- Create a `ChainedTokenCredential` instance that includes `WorkloadIdentityCredential`.
31
+
- Use `WorkloadIdentityCredential` directly.
32
+
33
+
The following table provides the **minimum** package version required for each language's client library.
| JavaScript/TypeScript |[microsoft-authentication-library-for-js](https://github.com/AzureAD/microsoft-authentication-library-for-js)| ghcr.io/azure/azure-workload-identity/msal-node |[Link](https://github.com/Azure/azure-workload-identity/tree/main/examples/msal-node)| No |
46
-
| Python |[microsoft-authentication-library-for-python](https://github.com/AzureAD/microsoft-authentication-library-for-python)| ghcr.io/azure/azure-workload-identity/msal-python |[Link](https://github.com/Azure/azure-workload-identity/tree/main/examples/msal-python)| No |
47
51
| Java |[microsoft-authentication-library-for-java](https://github.com/AzureAD/microsoft-authentication-library-for-java)| ghcr.io/azure/azure-workload-identity/msal-java |[Link](https://github.com/Azure/azure-workload-identity/tree/main/examples/msal-java)| No |
52
+
| JavaScript |[microsoft-authentication-library-for-js](https://github.com/AzureAD/microsoft-authentication-library-for-js)| ghcr.io/azure/azure-workload-identity/msal-node |[Link](https://github.com/Azure/azure-workload-identity/tree/main/examples/msal-node)| No |
53
+
| Python |[microsoft-authentication-library-for-python](https://github.com/AzureAD/microsoft-authentication-library-for-python)| ghcr.io/azure/azure-workload-identity/msal-python |[Link](https://github.com/Azure/azure-workload-identity/tree/main/examples/msal-python)| No |
48
54
49
55
## Limitations
50
56
@@ -134,7 +140,6 @@ The following table summarizes our migration or deployment recommendations for w
134
140
* See the tutorial [Use a workload identity with an application on Azure Kubernetes Service (AKS)][tutorial-use-workload-identity], which helps you deploy an Azure Kubernetes Service cluster and configure a sample application to use a workload identity.
0 commit comments