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/concept-permission.md
+13-6Lines changed: 13 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,20 @@
1
1
---
2
2
title: Permission requirement for Service Connector
3
-
description: Resource permission requirement
3
+
description: Learn about the resource permission requirements for creating connections using Service Connector in Azure.
4
4
author: maud-lv
5
5
ms.author: malev
6
6
ms.service: service-connector
7
7
ms.topic: conceptual
8
-
ms.date: 08/04/2023
8
+
ms.date: 12/18/2024
9
9
---
10
10
11
-
# Permission requirement for Service Connector
11
+
# Permission requirements for Service Connector
12
12
13
-
Service Connector creates connections between Azure services using an [on-behalf-of token](../active-directory/develop/v2-oauth2-on-behalf-of-flow.md). Creating a connection to a specific Azure resource requires its corresponding permissions.
13
+
When using Service Connector to create connections between Azure services, it's essential to ensure that the necessary permissions are granted. This document outlines the permission requirements for various Azure resources to facilitate seamless connection creation.
14
+
15
+
Service Connector creates connections between Azure services using an [on-behalf-of tokens](../active-directory/develop/v2-oauth2-on-behalf-of-flow.md).
16
+
17
+
Creating connections to Azure resources requires appropriate permissions.
14
18
15
19
### App Service
16
20
@@ -318,5 +322,8 @@ Service Connector may need to grant permissions to your identity if a connection
318
322
> |`Microsoft.Network/networkSecurityGroups/join/action`|Joins a network security group. Not Alertable.|
319
323
> |`Microsoft.Network/routeTables/join/action`|Joins a route table. Not Alertable.|
Copy file name to clipboardExpand all lines: articles/service-connector/how-to-build-connections-with-iac-tools.md
+10-8Lines changed: 10 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,17 @@
1
1
---
2
2
title: Create connections with IaC tools
3
-
description: Learn how to translate your infrastructure to an IaC template
3
+
description: Learn how to create connections using Infrastructure as Code (IaC) tools and translate your infrastructure configurations into IaC templates for CI/CD pipelines.
4
4
author: houk-ms
5
5
ms.service: service-connector
6
6
ms.topic: how-to
7
-
ms.date: 10/20/2023
7
+
ms.date: 12/18/2024
8
8
ms.author: honc
9
9
---
10
-
# How to translate your infrastructure to an IaC template
10
+
# How to create connections with IaC tools
11
11
12
-
Service Connector helps users connect their compute services to target backing services in just a few clicks or commands. When moving from a getting-started to a production stage, users also need to make the transition from using manual configurations to using Infrastructure as Code (IaC) templates in their CI/CD pipelines. In this guide, we show how to translate your connected Azure services to IaC templates.
12
+
Service Connector helps users connect their compute services to target backing services in just a few clicks or commands. When moving from a getting-started to a production stage, users also need to make the transition from using manual configurations to using Infrastructure as Code (IaC) templates in their CI/CD pipelines.
13
+
14
+
In this guide, you learn how to translate your connected Azure services to IaC templates.
If the resources you're provisioning are exactly the same ones as the ones you have in the cloud, exporting the template from Azure might be another option. The two premises of this approach are: the resources exist in Azure and you're using ARM templates for your IaC. The `Export template` button is usually at the bottom of the sidebar on Azure portal. The exported ARM template reflects the resource's current states, including the settings configured by Service Connector. You usually need to know about the resource properties to polish the exported template.
116
118
117
-
:::image type="content" source="./media/how-to/export-webapp-template.png" alt-text="Screenshot of the Azure portal, exporting arm template of a web app.":::
119
+
:::image type="content" source="./media/how-to/export-webapp-template.png" alt-text="Screenshot of the Azure portal, exporting ARM template of a web app.":::
118
120
119
121
### Build connection logic
120
122
121
123
#### Using Service Connector and storing configuration in App Configuration
122
124
123
-
Using the App Configuration to store configuration naturally supports IaC scenarios. We therefore recommend you use this method to build your IaC template if possible.
125
+
Using App Configuration to store configuration naturally supports IaC scenarios. We therefore recommend you use this method to build your IaC template if possible.
124
126
125
127
For simple portal instructions, you can refer to [this App Configuration tutorial](./tutorial-portal-app-configuration-store.md). To add this feature into a bicep file, add the App Configuration ID in the Service Connector payload.
Creating connections between the source and target service using Service Connector is the preferred and recommended way if the [Service Connector ](./known-limitations.md)[IaC limitation](./known-limitations.md) doesn't matter for your scenario. Service Connector makes the template simpler and also provides additional elements, such as the connection health validation, which you won't have if you're building connections through template logic directly.
165
+
Creating connections between the source and target service using Service Connector is the preferred and recommended approach, provided that the [Service Connector ](./known-limitations.md)[IaC limitation](./known-limitations.md) doesn't negatively impact your scenario. Service Connector simplifies the template and provides additional features, such as a connection health validation, which aren't available when building connections directly through template logic.
164
166
165
167
```bicep
166
168
// The template builds a connection between a webapp and a storage account
For the formats of properties and values needed when creating a Service Connector resource, check [how to provide correct parameters](./how-to-provide-correct-parameters.md). You can also preview and download an ARM template for reference when creating a Service Connector resource in the Azure portal.
202
204
203
-
:::image type="content" source="./media/how-to/export-sc-template.png" alt-text="Screenshot of the Azure portal, exporting arm template of a service connector resource.":::
205
+
:::image type="content" source="./media/how-to/export-sc-template.png" alt-text="Screenshot of the Azure portal, exporting ARM template of a service connector resource.":::
Copy file name to clipboardExpand all lines: articles/service-connector/how-to-provide-correct-parameters.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
1
---
2
2
title: Provide correct parameters to Service Connector
3
-
description: Learn how to pass correct parameters to Service Connector.
3
+
description: Learn how to pass correct parameters to Service Connector to generate service connections between your Cloud resources.
4
4
author: houk-ms
5
5
ms.service: service-connector
6
6
ms.topic: how-to
7
-
ms.date: 09/11/2023
7
+
ms.date: 12/18/2024
8
8
ms.author: honc
9
9
---
10
10
# Provide correct parameters to Service Connector
@@ -83,9 +83,9 @@ Client type refers to your compute service's runtime stack or development framew
83
83
*`ruby`
84
84
*`springBoot`
85
85
86
-
A different subset of the client types can be used when specifying a different target service and a different authentication type, check [how to integrate with target services](./how-to-integrate-postgres.md) for their combinations.
86
+
A different subset of the client types can be used when specifying a different target service and a different authentication type, check [how to integrate with target services](./how-to-integrate-ai-services.md) for their combinations.
87
87
88
-
## Next steps
88
+
## Related links
89
89
90
-
> [!div class="nextstepaction"]
91
-
> [How to integrate target services](./how-to-integrate-postgres.md)
90
+
-[How to integrate target services](./how-to-integrate-ai-services.md)
91
+
-[Create connections with IaC tools](./how-to-build-connections-with-iac-tools.md)
Copy file name to clipboardExpand all lines: articles/service-connector/quickstart-cli-container-apps.md
+15-17Lines changed: 15 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,36 +1,32 @@
1
1
---
2
-
title: Quickstart - Create a service connection in Container Apps using the Azure CLI
3
-
description: Quickstart showing how to create a service connection in Azure Container Apps using the Azure CLI
2
+
title: 'Create a service connection in Container Apps - Azure CLI'
3
+
description: Learn how to create a service connection in Azure Container Apps using the Azure CLI. This quickstart guides you through the process step-by-step.
4
4
author: maud-lv
5
5
ms.author: malev
6
6
ms.service: service-connector
7
7
ms.topic: quickstart
8
-
ms.date: 10/31/2023
8
+
ms.date: 12/18/2024
9
9
ms.devlang: azurecli
10
10
ms.custom: devx-track-azurecli, build-2024
11
11
---
12
12
13
-
# Quickstart: Create a service connection in Azure Container Apps with the Azure CLI
13
+
# Quickstart: Create a service connection in Azure Container Apps with the Azure CLI (preview)
14
14
15
-
This quickstart shows you how to connect Azure Container Apps to other Cloud resources using the Azure CLI and Service Connector. Service Connector lets you quickly connect compute services to cloud services, while managing your connection's authentication and networking settings.
16
-
17
-
> [!IMPORTANT]
18
-
> Service Connector in Container Apps is currently in preview.
19
-
> See the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
15
+
This quickstart shows you how to connect Azure Container Apps to other Cloud resources using the Azure CLI and Service Connector (preview). Service Connector lets you quickly connect compute services to cloud services, while managing your connection's authentication and networking settings.
20
16
21
17
## Prerequisites
22
18
23
-
- An Azure subscription. [!INCLUDE [quickstarts-free-trial-note](~/reusable-content/ce-skilling/azure/includes/quickstarts-free-trial-note.md)]
19
+
- An active Azure subscription. [!INCLUDE [quickstarts-free-trial-note](~/reusable-content/ce-skilling/azure/includes/quickstarts-free-trial-note.md)]
24
20
25
-
- At least one application deployed to Container Apps in a [region supported by Service Connector](./concept-region-support.md). If you don't have one, [create and deploy a container to Container Apps](../container-apps/quickstart-portal.md).
21
+
- At least one application deployed to Azure Container Apps in a [region supported by Service Connector](./concept-region-support.md). If you don't have one, [create and deploy a container to Container Apps](../container-apps/quickstart-portal.md).
- Version 2.37.0 or higher of the Azure CLI must be installed. To upgrade to the latest version, run `az upgrade`. If using Azure Cloud Shell, the latest version is already installed.
30
26
31
27
- The Container Apps extension must be installed in the Azure CLI or the Cloud Shell. To install it, run `az extension add --name containerapp`.
32
28
33
-
## Initial set-up
29
+
## Set up your environment
34
30
35
31
1. If you're using Service Connector for the first time, start by running the command [az provider register](/cli/azure/provider#az-provider-register) to register the Service Connector resource provider.
36
32
@@ -47,14 +43,14 @@ This quickstart shows you how to connect Azure Container Apps to other Cloud res
47
43
az containerapp connection list-support-types --output table
48
44
```
49
45
50
-
## Create a service connection
46
+
## Create a service connection (preview)
51
47
52
48
Create a connection using a managed identity or an access key.
> To use a managed identity, you must have the permission to modify [Microsoft Entra role assignment](/entra/identity/role-based-access-control/manage-roles-portal). Without this permission, your connection creation will fail. Ask your subscription owner to grant you this permission, or use an access key instead to create the connection.
53
+
> To use a managed identity, you must have the permission to modify [Microsoft Entra role assignment](/entra/identity/role-based-access-control/manage-roles-portal). Ask your subscription owner to grant you this permission, or use an access key instead to create the connection.
58
54
59
55
1. Run the `az containerapp connection create` command to create a service connection from Container Apps to a Blob Storage with a system-assigned managed identity.
60
56
@@ -111,7 +107,9 @@ az containerapp connection list -g "<container-app-resource-group>" --name "<con
111
107
112
108
The output also displays the provisioning state of your connections: failed or succeeded.
113
109
114
-
## Next steps
110
+
## Related links
111
+
112
+
-[Container Apps: Connect Java Quarkus app to PostgreSQL](../container-apps/tutorial-java-quarkus-connect-managed-identity-postgresql-database.md?bc=%2fazure%2fservice-connector%2fbreadcrumb%2ftoc.json&toc=%2fazure%2fservice-connector%2fTOC.json)
113
+
-[Container Apps: Connect ASP.NET Core app to App Configuration](../azure-app-configuration/quickstart-container-apps.md?bc=%2fazure%2fservice-connector%2fbreadcrumb%2ftoc.json&toc=%2fazure%2fservice-connector%2fTOC.json)
Copy file name to clipboardExpand all lines: articles/service-connector/quickstart-cli-spring-cloud-connection.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
---
2
2
title: Quickstart - Create a service connection in Azure Spring Apps with the Azure CLI
3
-
description: Quickstart showing how to create a service connection in Azure Spring Apps with the Azure CLI
3
+
description: In this step-by-step guide, learn how to create a service connection in Azure Spring Apps using the Azure CLI.
4
4
author: maud-lv
5
5
ms.author: malev
6
6
ms.service: service-connector
7
7
ms.topic: quickstart
8
-
ms.date: 10/31/2022
8
+
ms.date: 12/18/2024
9
9
ms.devlang: azurecli
10
10
ms.custom: devx-track-azurecli, build-2024
11
11
---
@@ -28,7 +28,7 @@ Service Connector lets you quickly connect compute services to cloud services, w
28
28
29
29
- The Azure Spring Apps extension must be installed in the Azure CLI or the Cloud Shell. To install it, run `az extension add --name spring`.
30
30
31
-
## Initial set up
31
+
## Initial setup
32
32
33
33
1. If you're using Service Connector for the first time, start by running the command [az provider register](/cli/azure/provider#az-provider-register) to register the Service Connector resource provider.
34
34
@@ -55,9 +55,9 @@ Create a connection from Azure Spring Apps using a managed identity or an access
> To use a managed identity, you must have the permission to modify [role assignments in Microsoft Entra ID](/entra/identity/role-based-access-control/manage-roles-portal). Without this permission, your connection creation will fail. Ask your subscription owner to grant you a role assignment permission or use an access key to create the connection.
58
+
> To use a managed identity, you must have the permission to modify [role assignments in Microsoft Entra ID](/entra/identity/role-based-access-control/manage-roles-portal). Ask your subscription owner to grant you a role assignment permission or use an access key to create the connection.
59
59
60
-
1. Run the `az spring connection create` command to create a service connection to a Blob Storage with a system-assigned managed identity
60
+
1. Run the `az spring connection create` command to connect application deployed to Azure Spring Apps to a Blob Storage resource, using a system-assigned managed identity.
61
61
62
62
1. Provide the following information at the CLI or Cloud Shell's request:
Copy file name to clipboardExpand all lines: articles/service-connector/quickstart-portal-container-apps.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ ms.date: 10/22/2024
9
9
#Customer intent: As an app developer, I want to connect Azure Container Apps to a storage account in the Azure portal using Service Connector.
10
10
---
11
11
12
-
# Quickstart: Create a service connection in Azure Container Apps from the Azure portal
12
+
# Quickstart: Create a service connection in Azure Container Apps from the Azure portal (preview)
13
13
14
14
This quickstart shows you how to connect Azure Container Apps to other Cloud resources using the Azure portal and Service Connector. Service Connector lets you quickly connect compute services to cloud services, while managing your connection's authentication and networking settings.
15
15
@@ -30,7 +30,7 @@ This quickstart shows you how to connect Azure Container Apps to other Cloud res
30
30
31
31
Sign in to the Azure portal at [https://portal.azure.com/](https://portal.azure.com/) with your Azure account.
32
32
33
-
## Create a new service connection
33
+
## Create a new service connection (preview)
34
34
35
35
Use Service Connector to create a new service connection in Container Apps.
Copy file name to clipboardExpand all lines: articles/service-connector/tutorial-csharp-webapp-storage-cli.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,18 @@
1
1
---
2
-
title: 'Tutorial: Deploy a web application connected to Azure Blob Storage with Service Connector'
3
-
description: Create a web app connected to Azure Blob Storage with Service Connector.
2
+
title: Deploy a webapp connected to Azure Blob Storage
3
+
description: This tutorial guides you through creating and deploying a web application that connects to Azure Blob Storage using Service Connector.
4
4
author: maud-lv
5
5
ms.author: malev
6
6
ms.service: service-connector
7
7
ms.topic: tutorial
8
-
ms.date: 11/20/2023
8
+
ms.date: 12/18/2024
9
9
ms.devlang: azurecli
10
10
ms.custom: devx-track-azurecli
11
11
---
12
12
13
13
# Tutorial: Deploy a web application connected to Azure Blob Storage with Service Connector
14
14
15
-
Learn how to access Azure Blob Storage for a web app (not a signed-in user) running on Azure App Service by using managed identities. In this tutorial, you'll use the Azure CLI to complete the following tasks:
15
+
In this tutorial, you learn how to access Azure Blob Storage for a web app (not a signed-in user) running on Azure App Service by using managed identities. In this tutorial, you'll use the Azure CLI to complete the following tasks:
16
16
17
17
> [!div class="checklist"]
18
18
>
@@ -109,7 +109,7 @@ az webapp browse --name <app-name>
109
109
110
110
The sample code is a web application. Each time you refresh the index page, the application creates or updates a blob with the text `Hello Service Connector! Current is {UTC Time Now}` to the storage container and reads back to show it in the index page.
111
111
112
-
## Next steps
112
+
## Next step
113
113
114
114
To learn more about Service Connector, read the guide below.
0 commit comments