Skip to content

Commit 6dee3a1

Browse files
committed
Update
2 parents 827bfa7 + ae6857b commit 6dee3a1

File tree

2 files changed

+21
-13
lines changed

2 files changed

+21
-13
lines changed

articles/service-connector/tutorial-python-aks-openai-connection-string.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -138,17 +138,25 @@ Once the connection has been created, you can view its details in the **Service
138138
139139
## [Azure CLI](#tab/azure-cli)
140140
141-
Use the Azure CLI command to create a service connection to the Azure OpenAI service, providing the following information:
142-
143-
* **Source compute service resource group name:** the name of the resource group containing the AKS cluster.
144-
* **AKS cluster name:** the name of the AKS cluster that connects to the target service.
145-
* **Target service resource group name:** the name of the resource group containing the Azure OpenAI service.
146-
* **OpenAI service name:** the Azure OpenAI service that is connected.
141+
Create a service connection to the Azure OpenAI service in AKS by running the [az aks connection create cognitiveservices](/cli/azure/aks/connection/create#az-aks-connection-create-cognitiveservices) command in the Azure CLI.
147142
148143
```azurecli
149144
az aks connection create cognitiveservices --secret
150145
```
151146

147+
When using the above command, Service Connector prompts you to specify the AKS resource group, AKS cluster name, target service resource group, and cognitive service account name step by step.
148+
149+
Alternatively, you can provide the complete command directly:
150+
151+
```azurecli
152+
az aks connection create cognitiveservices \
153+
--secret \
154+
--resource-group <aks-cluster-resource-group> \
155+
--name <aks-cluster-name> \
156+
--target-resource-group <target-cognitive-services-resource-group> \
157+
--account <target-cognitive-services-account>
158+
```
159+
152160
---
153161

154162
## Clone sample application

articles/service-connector/tutorial-python-aks-openai-workload-identity.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
---
22
title: Connect to Azure OpenAI Service in AKS using workload identity
33
titlesuffix: Service Connector
4-
description: Learn how to connect to Azure OpenAI Service in Azure Kubernetes Service (AKS) using workload identity and Service Connector.
5-
#customerintent: As a developer, I want to connect my AKS resource to Azure OpenAI Service using a workload identity.
4+
description: Learn how to connect to Azure OpenAI Service in Azure Kubernetes Service (AKS) using Service Connector.
5+
#customerintent: As a developer, I want to connect my AKS resource to Azure OpenAI Service.
66
author: houk-ms
77
ms.author: honc
88
ms.service: service-connector
99
ms.custom: devx-track-python, build-2024, devx-track-azurecli
1010
ms.collection: ce-skilling-ai-copilot
1111
ms.topic: tutorial
12-
ms.date: 01/28/2025
12+
ms.date: 01/29/2025
1313
---
1414

1515
# Tutorial: Connect to Azure OpenAI Service in AKS using Workload Identity
1616

17-
In this tutorial, you learn how to create a pod in an Azure Kubernetes (AKS) cluster that communicates with Azure OpenAI Service using workload identity and Service Connector. In this tutorial, you complete the following tasks:
17+
In this tutorial, you learn how to create a pod in an Azure Kubernetes (AKS) cluster that communicates with Azure OpenAI Service using Microsoft Entra Workload ID and Service Connector. In this tutorial, you complete the following tasks:
1818

1919
> [!div class="checklist"]
2020
>
@@ -141,14 +141,14 @@ Refer to the [AKS service connection quickstart](quickstart-portal-aks-connectio
141141
| Authentication Setting | Example value | Description |
142142
|--------------------------------|---------------------|-------------------------------------------------------------------------|
143143
| **Authentication type** | *Workload Identity* | Service Connector authentication type. |
144-
| **Subscription** | `<MySubscription>` | The subscription that contains the user assigned managed identity. |
144+
| **Subscription** | `<MySubscription>` | The subscription that contains the user-assigned managed identity. |
145145
| **User assigned managed identity** | `<MyIdentity>` | A user assigned managed identity is needed to enable workload identity. |
146146
147-
Once the connection has been created, you can view its details in the **Service Connector** pane.
147+
Once the connection is created, you can view its details in the **Service Connector** pane.
148148
149149
### [Azure CLI](#tab/azure-cli)
150150
151-
Create a service connection to the Azure OpenAI service in AKS by running the [az aks connection create](/cli/azure/aks/connection/create#az-aks-connection-create-cognitiveservices) command in the Azure CLI.
151+
Create a service connection to the Azure OpenAI service in AKS by running the [az aks connection create cognitiveservices](/cli/azure/aks/connection/create#az-aks-connection-create-cognitiveservices) command in the Azure CLI.
152152
153153
```azurecli
154154
az aks connection create cognitiveservices \

0 commit comments

Comments
 (0)