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
description: Learn how managed identities work in Azure App Configuration and how to configure a managed identity
4
4
author: maud-lv
5
5
ms.topic: article
6
-
ms.date: 02/25/2020
6
+
ms.date: 05/24/2024
7
7
ms.author: malev
8
-
ms.reviewer: lcozzens
9
8
ms.service: azure-app-configuration
10
9
ms.custom: devx-track-azurecli
11
10
---
12
11
13
12
# How to use managed identities for Azure App Configuration
14
13
15
-
This topic shows you how to create a managed identity for Azure App Configuration. A managed identity from Microsoft Entra ID allows Azure App Configuration to easily access other Microsoft Entra protected resources. The identity is managed by the Azure platform. It does not require you to provision or rotate any secrets. For more about managed identities in Microsoft Entra ID, see [Managed identities for Azure resources](../active-directory/managed-identities-azure-resources/overview.md).
14
+
This article shows you how to create a managed identity for Azure App Configuration. A managed identity from Microsoft Entra ID allows Azure App Configuration to easily access other Microsoft Entra protected resources. The identity is managed by the Azure platform. It doesn't require you to provision or rotate any secrets. For more about managed identities in Microsoft Entra ID, see [Managed identities for Azure resources](../active-directory/managed-identities-azure-resources/overview.md).
16
15
17
16
Your application can be granted two types of identities:
18
17
@@ -31,7 +30,7 @@ To set up a managed identity using the Azure CLI, use the [az appconfig identity
31
30
- Use the embedded Azure Cloud Shell via the "Try It" button, located in the top-right corner of each code block below.
32
31
-[Install the latest version of Azure CLI](/cli/azure/install-azure-cli) (2.1 or later) if you prefer to use a local CLI console.
33
32
34
-
The following steps will walk you through creating an App Configuration store and assigning it an identity using the CLI:
33
+
The following steps walk you through creating an App Configuration store and assigning it an identity using the CLI:
35
34
36
35
1. If you're using the Azure CLI in a local console, first sign in to Azure using [az login]. Use an account that is associated with your Azure subscription:
37
36
@@ -67,7 +66,7 @@ To set up a managed identity using the Azure CLI, use the [az appconfig identity
67
66
- Use the embedded Azure Cloud Shell via the "Try It" button, located in the top-right corner of each code block below.
68
67
- [Install the latest version of Azure CLI](/cli/azure/install-azure-cli) (2.0.31 or later) if you prefer to use a local CLI console.
69
68
70
-
The following steps will walk you through creating a user-assigned identity and an App Configuration store, then assigning the identity to the store using the CLI:
69
+
The following steps walk you through creating a user-assigned identity and an App Configuration store, then assigning the identity to the store using the CLI:
71
70
72
71
1. If you're using the Azure CLI in a local console, first sign in to Azure using [az login]. Use an account that is associated with your Azure subscription:
73
72
@@ -104,6 +103,3 @@ A system-assigned identity can be removed by disabling the feature by using the
104
103
105
104
> [!div class="nextstepaction"]
106
105
> [Create an ASP.NET Core app with Azure App Configuration](quickstart-aspnet-core-app.md)
Copy file name to clipboardExpand all lines: articles/azure-app-configuration/quickstart-dotnet-app.md
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,19 +1,20 @@
1
1
---
2
-
title: Quickstart for Azure App Configuration with .NET Framework | Microsoft Docs
2
+
title: Quickstart for Azure App Configuration with .NET Framework
3
3
description: In this article, create a .NET Framework app with Azure App Configuration to centralize storage and management of application settings separate from your code.
#Customer intent: As a .NET Framework developer, I want to manage all my app settings in one place.
13
13
---
14
14
# Quickstart: Create a .NET Framework app with Azure App Configuration
15
15
16
16
There are two ways to incorporate Azure App Configuration into a .NET Framework-based app.
17
+
17
18
- The configuration builder for App Configuration enables data from App Configuration to be loaded to App Settings. Your app accesses configuration as it always does via `ConfigurationManager`. You don't need to make any code change other than updates to *app.config* or *web.config* files. This quickstart will walk you through this option.
18
19
- As is designed by the .NET Framework, the App Settings can only refresh upon application restart. The App Configuration .NET provider is a .NET Standard library. It supports caching and refreshing configuration dynamically without application restart. If the dynamic configuration is essential to you and you are willing to make code changes, see tutorials on how you can implement dynamic configuration updates in a [.NET Framework console app](./enable-dynamic-configuration-dotnet.md) or an [ASP.NET web app](./enable-dynamic-configuration-aspnet-netfx.md).
19
20
@@ -86,19 +87,21 @@ Add the following key-value to the App Configuration store and leave **Label** a
86
87
87
88
## Build and run the app
88
89
89
-
1. Set an environment variable named **ConnectionString** to the read-only key connection string obtained during your App Configuration store creation.
90
+
1. Set an environment variable named **ConnectionString** to the read-only key connection string obtained during your App Configuration store creation.
90
91
91
92
If you use the Windows command prompt, run the following command:
#customer intent: As a developer, I want learn how to create an Azure App Configuration store using an ARM template so that I can get started using Azure App Configuration quickly.
11
12
---
12
13
13
14
# Quickstart: Create an Azure App Configuration store by using an ARM template
0 commit comments