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
# Tutorial: Connect to Azure OpenAI Service in AKS using Workload Identity (preview)
@@ -148,19 +148,25 @@ Once the connection has been created, you can view its details in the **Service
148
148
149
149
### [Azure CLI](#tab/azure-cli)
150
150
151
-
Use the Azure CLI command to create a service connection to the Azure OpenAI service, providing the following information:
152
-
153
-
* **Source compute service resource group name:** the resource group name of the AKS cluster.
154
-
* **AKS cluster name:** the name of your AKS cluster that connects to the target service.
155
-
* **Target service resource group name:** the resource group name of the Azure OpenAI service.
156
-
* **OpenAI service name:** the Azure OpenAI service that is connected.
157
-
* **User-assigned identity resource ID:** the resource ID of the user-assigned identity used to create the workload identity.
151
+
Create a service connection in AKS using the Azure CLI.
158
152
159
153
```azurecli
160
154
az aks connection create cognitiveservices \
161
155
--workload-identity <user-identity-resource-id>
162
156
```
163
157
158
+
When using the [az aks connection create](/cli/azure/aks/connection/create#az-aks-connection-create-cognitiveservices) command, Service Connector prompts you to specify the AKS resource group, AKS cluster name, target service resource group, cognitive service account name, and user-assigned identity resource ID step by step.
159
+
Alternatively, you can provide the complete command directly:
0 commit comments