Skip to content

Instantly share code, notes, and snippets.

@manoj-choudhari-git
Last active December 30, 2022 09:57
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/4f24aff60f44aca1f4ed5d7f43dba862 to your computer and use it in GitHub Desktop.
Save manoj-choudhari-git/4f24aff60f44aca1f4ed5d7f43dba862 to your computer and use it in GitHub Desktop.
Azure App Configuration Service - Import JSON content as key value pairs
## Import JSON content as key value pairs using connection string of app config store
az appconfig kv import -s file --format json --path "./settings.json"
--content-type "application/json"
--separator :
--depth 2
--connection-string "{app-config-connection-string}"
## Import JSON content as key value pairs using app confit store name
az appconfig kv import -s file --format json --path "./settings.json"
--content-type "application/json"
--separator :
--depth 2
--name "{app-config-store-name}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment