Import and export configuration in Azure App Configuration Store

This article explains how to Import or export configuration data in Azure App Configuration

To Read about Azure App Configuration please read article: Managing App Settings made easy with Azure App Configuration.

Azure App Configuration data import and export feature enables to work with configuration data in bulk and exchange data between your app configuration store and code project. For example, you can set up one app configuration store for testing and another for production. You then can copy application settings between them via a file so that you don’t have to enter data twice.

Import data

Import data helps to add configuration data into an App Configuration store from an existing source. App Configuration supports importing from a JSON, YAML, or properties file.

To Import data by using the Azure portal, follow these steps:

1. Open app configuration store, and select Import/Export.

appconfig_import_1

2. On the Import tab, select Source service as Configuration File.

3. Select For language and File type.

4. Select the Source File by browsing to the file to import.

appconfig_import_2  4. Select a Separator and enter a Prefix(optional) to use for imported key names.

appconfig_import_3

5. Select a Label (Optional).

6. Select Apply to finish the import.

 

Export data

Export helps to write configuration data from App Configuration to another destination.

To Export data by using the Azure portal, follow these steps:

1. Open app configuration store, and select Import/Export.

appconfig_import_1

2. On the Export tab, select Target service as Configuration File.

3. Enter a Prefix(optional) and select a Label and a point-in-time for keys to be exported.

4. Select a File type and Separator.

5. Select Apply to finish the export.

appconfig_import_4

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: