CmdID / az / az webapp / az webapp config / az webapp config appsettings
az webapp config appsettings set
Set a web app's settings. Azure CLI reference
Note that setting values are now redacted in the result. Please use the `az webapp config appsettings list` command to view the settings.
2 examples 1 option Its page in the Azure CLI reference
Examples
Set the default NodeJS version to 6.9.1 for a web app.
az webapp config appsettings set -g MyResourceGroup -n MyUniqueApp --settings WEBSITE_NODE_DEFAULT_VERSION=6.9.1Identify-gName of resource group.-nname of the web app.--settingsSpace-separated appsettings in KEY=VALUE format.Set using both key-value pair and a json file with more settings.
az webapp config appsettings set -g MyResourceGroup -n MyUniqueApp --settings mySetting=value @moreSettings.jsonIdentify-gName of resource group.-nname of the web app.--settingsSpace-separated appsettings in KEY=VALUE format.Options
--slot-settings, --settingsSpace-separated appsettings in KEY=VALUE format.