AppConfiguration icon indicating copy to clipboard operation
AppConfiguration copied to clipboard

Bulk edit/creation for multiple keys/labels at once in Portal

Open maxkoshevoi opened this issue 3 years ago • 2 comments

Create from existing is great, but it only works for one label at a time. Could you please enable it to work with all labels added for a single key at once?

Intended use is as in https://github.com/Azure/AppConfiguration/issues/474 - to rename the key.

maxkoshevoi avatar Aug 10 '22 13:08 maxkoshevoi

@maxkoshevoi thanks for the suggestion. We are looking into some bulk editing/creation functionalities for the portal.

zhenlan avatar Aug 12 '22 00:08 zhenlan

As Zhenlan mentioned, we are looking into supporting this in the Portal. In the meantime wanted an alternative method that may even be desirable.


Not quite what you're looking for, but wanted to mention it in case it helps.

You can have a bulk edit/create workflow with Azure CLI's support for "default" file content profile. See here.

Essentially the workflow would be these steps

  1. Export desired key-values (filtering by key/key-prefix/label supported). These can be thought of as your source for bulk updates
az appconfig kv export --profile appconfig/kvset --label * --name <your store name> --destination file --path appconfigdata.json --format json 
  1. Make the desired changes to the key-values persisted in the file.
  2. Import the settings back to Azure App Configuration to either modify existing key-values, or create new ones.
az appconfig kv import --profile appconfig/kvset --name <your store name> --source file --path appconfigdata.json --format json

jimmyca15 avatar Jul 31 '23 22:07 jimmyca15