Skip to content

Instantly share code, notes, and snippets.

@manoj-choudhari-git
Created December 30, 2022 10:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save manoj-choudhari-git/051601acd6b49ce58c95b1316688a232 to your computer and use it in GitHub Desktop.
Save manoj-choudhari-git/051601acd6b49ce58c95b1316688a232 to your computer and use it in GitHub Desktop.
Azure CLI - App Configuration Service - Export Key Value Pairs to a JSON file
## Export the key-value pairs from App Configuration to JSON file using Connection String
az appconfig kv export --destination file
--format json
--path "./exported-settings.json"
--separator :
--connection-string "{app-config-connection-string}"
## Export the key-value pairs from App Configuration to JSON file using app config store name
az appconfig kv export --destination file
--format json
--path "./exported-settings.json"
--separator :
--name "{app-config-store-name}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment