Last active
December 30, 2022 09:57
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 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