CmdID

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

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

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

1 in the Azure CLI reference
--slot-settings, --settingsSpace-separated appsettings in KEY=VALUE format.