Appconfiguration: Support export/import of all elements. Not only by label.

Created on 20 Nov 2019  路  4Comments  路  Source: Azure/AppConfiguration

Hello,

would it be possible to add support for export/import of all elements in Azure app configuration ? Right now we have around 10 labels in our Azure app config. It's real pain to have to export them one label at a time which is really time consuming and not user friendly. The (No Label) option only exports elements with no Label. There should be option like 'All'.

image

Regards.

Import & Export enhancement portal

Most helpful comment

Hey @zhenlan

I don't care about the format as much as the possiblity to easily export/import my Azure app configuration in a single step. If there is such a funcionality as export I don't see why I have to do it in 9-10 steps which is required if I have labels. the same goes for export to different Azure app configuration (doesn't have to be a file)

Regards

All 4 comments

Hi @mmigala, can you please help me to understand your scenario better?

  1. JSON file doesn't have a concept of the label. When you export multiple labels, there could be multiple values for the same key. How do you like the exported file look like?
  2. Do you mind to share why you need to export config to files repeatedly?

Hey @zhenlan

I don't care about the format as much as the possiblity to easily export/import my Azure app configuration in a single step. If there is such a funcionality as export I don't see why I have to do it in 9-10 steps which is required if I have labels. the same goes for export to different Azure app configuration (doesn't have to be a file)

Regards

@mmigala agreed. When exporting to another App Configuration store, we should allow exporting all labels with one click. Thanks for the suggestion.

Import/export of all key-values between two App Configuration stores is supported in Azure CLI (2.0.81 or later).

az appconfig kv export --destination appconfig --name {PrimaryStore} --dest-name {SecondaryStore} --label * --preserve-labels -y

Was this page helpful?
0 / 5 - 0 ratings

Related issues

justinmetz picture justinmetz  路  3Comments

David-Stark picture David-Stark  路  5Comments

DWAK-ATTK picture DWAK-ATTK  路  3Comments

WarrenFerrell picture WarrenFerrell  路  5Comments

kamalsivalingam picture kamalsivalingam  路  3Comments