CmdID

CmdID / az / az webapp / az webapp config / az webapp config connection-string

az webapp config connection-string set

Update a web app's connection strings. Azure CLI reference

Note that connection string values are now redacted in the result. Please use the `az webapp config connection-string list` command to view the values.

1 example 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

Add a mysql connection string.

az webapp config connection-string set -g MyResourceGroup -n MyUniqueApp -t mysql --settings mysql1='Server=myServer;Database=myDB;Uid=myUser;Pwd=myPwd;'Identify
-gName of resource group.
-nName of the web app.
-tconnection string type
--settingsspace-separated connection-string in a format of <name>=<value>