az staticwebapp appsettings

Manage app settings the static app.

Commands

az staticwebapp appsettings delete

Delete app settings with given keys of the static app.

az staticwebapp appsettings list

List app settings of the static app.

az staticwebapp appsettings set

Add to or change the app settings of the static app.

az staticwebapp appsettings delete

Delete app settings with given keys of the static app.

az staticwebapp appsettings delete --name
                                   --setting-names
                                   [--resource-group]

Examples

Delete given app settings of the static app.

az staticwebapp appsettings delete -n MyStaticAppName --setting-names key1 key2

Required Parameters

--name -n

Name of the static site.

--setting-names

Space-separated app setting names.

Optional Parameters

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

az staticwebapp appsettings list

List app settings of the static app.

az staticwebapp appsettings list --name
                                 [--resource-group]

Examples

List app settings of the static app.

az staticwebapp appsettings list -n MyStaticAppName

Required Parameters

--name -n

Name of the static site.

Optional Parameters

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

az staticwebapp appsettings set

Add to or change the app settings of the static app.

az staticwebapp appsettings set --name
                                --setting-names
                                [--resource-group]

Examples

Add to or change the app settings of the static app.

az staticwebapp appsettings set -n MyStaticAppName --setting-names key1=val1 key2=val2

Required Parameters

--name -n

Name of the static site.

--setting-names

Space-separated app settings in 'key=value' format.

Optional Parameters

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.