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/service-connector/quickstart-portal-aks-connection.md
+17-1Lines changed: 17 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ Sign in to the Azure portal at [https://portal.azure.com/](https://portal.azure.
45
45
46
46
1. Select **Next: Authentication** to choose an authentication method.
47
47
48
-
### [Workload identity](#tab/UMI)
48
+
### [Workload identity (recommended)](#tab/UMI)
49
49
50
50
Select **Workload identity** to authenticate through [Microsoft Entra workload identity](/entra/workload-id/workload-identities-overview) to one or more instances of an Azure service. Then select a user-assigned managed identity to enable workload identity.
51
51
@@ -71,6 +71,22 @@ Sign in to the Azure portal at [https://portal.azure.com/](https://portal.azure.
71
71
1. Select **Network View** to see all the service connections in a network topology view.
72
72
:::image type="content" source="./media/aks-quickstart/list-and-view.png" alt-text="Screenshot of the Azure portal, listing and viewing the connections.":::
73
73
74
+
## Update your container
75
+
76
+
Now that you created a connection between your AKS cluster and target service, you need to retrieve the connection secrets and deploy them in your container.
77
+
78
+
1. In the [Azure portal](https://portal.azure.com/), navigate to your AKS cluster resource and select **Service Connector (Preview)**.
79
+
1. Select the newly created connection, and then select **YAML snippet**. This action opens a panel displaying a sample YAML file generated by Service Connector.
80
+
1. To set the connection secrets as environment variables in your container, you have two options:
81
+
82
+
* Directly create a deployment using the YAML sample code snippet provided. The snippet includes highlighted sections showing the secret object that will be injected as the environment variables. Select **Apply** to proceed with this method.
83
+
84
+
:::image type="content" source="media/aks-quickstart/sample-yaml-snippet.png" alt-text="Screenshot of the Azure portal showing the sample YAML snippet to create a new connection in AKS.":::
85
+
86
+
* Alternatively, under **Resource Type**, select **Kubernetes Workload**, and then select an existing Kubernetes workload. This action sets the secret object of your new connection as the environment variables for the selected workload. After selecting the workload, select **Apply**.
87
+
88
+
:::image type="content" source="media/aks-quickstart/kubernetes-snippet.png" alt-text="Screenshot of the Azure portal showing the Kubernetes snippet to create a new connection in AKS.":::
89
+
74
90
## Next steps
75
91
76
92
Follow the following tutorials to start connecting to Azure services on AKS cluster with Service Connector.
0 commit comments