az appconfig

Manage App Configurations.

Commands

az appconfig create Create an App Configuration.
az appconfig credential Manage credentials for App Configurations.
az appconfig credential list List access keys of an App Configuration.
az appconfig credential regenerate Regenerate an access key for an App Configuration.
az appconfig delete Delete an App Configuration.
az appconfig feature Manage feature flags stored in an App Configuration.
az appconfig feature delete Delete feature flag.
az appconfig feature disable Disable a feature flag to turn it OFF for use.
az appconfig feature enable Enable a feature flag to turn it ON for use.
az appconfig feature filter Manage filters associated with feature flags stored in an App Configuration.
az appconfig feature filter add Add a filter to a feature flag.
az appconfig feature filter delete Delete a filter from a feature flag.
az appconfig feature filter list List all filters for a feature flag.
az appconfig feature filter show Show filters of a feature flag.
az appconfig feature list List feature flags.
az appconfig feature lock Lock a feature flag to prohibit write operations.
az appconfig feature set Set a feature flag.
az appconfig feature show Show all attributes of a feature flag.
az appconfig feature unlock Unlock a feature to gain write operations.
az appconfig kv Manage key-values stored in an App Configuration.
az appconfig kv delete Delete key-values.
az appconfig kv export Export configurations to another place from your App Configuration.
az appconfig kv import Import configurations into your App Configuration from another place.
az appconfig kv list List key-values.
az appconfig kv lock Lock a key-value to prohibit write operations.
az appconfig kv restore Restore key-values.
az appconfig kv set Set a key-value.
az appconfig kv set-keyvault Set a keyvault reference.
az appconfig kv show Show all attributes of a key-value.
az appconfig kv unlock Unlock a key-value to gain write operations.
az appconfig list Lists all App Configurations under the current subscription.
az appconfig revision Manage revisions for key-values stored in an App Configuration.
az appconfig revision list Lists revision history of key-values.
az appconfig show Show properties of an App Configuration.
az appconfig update Update an App Configuration.

az appconfig create

Create an App Configuration.

az appconfig create --location
--name
--resource-group
[--subscription]

Examples

Create an App Configuration with name, location and resource group.

az appconfig create -g MyResourceGroup -n MyAppConfiguration -l westus

Required Parameters

--location -l

Location. Values from: az account list-locations. You can configure the default location using az configure --defaults location=<location>.

--name -n

Name of the App Configuration. You can configure the default name using az configure --defaults app_configuration_store=<name>.

--resource-group -g

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

Optional Parameters

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

az appconfig delete

Delete an App Configuration.

az appconfig delete --name
[--resource-group]
[--subscription]
[--yes]

Examples

Delete an App Configuration under resource group

az appconfig delete -g MyResourceGroup -n MyAppConfiguration

Required Parameters

--name -n

Name of the App Configuration. You can configure the default name using az configure --defaults app_configuration_store=<name>.

Optional Parameters

--resource-group -g

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

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--yes -y

Do not prompt for confirmation.

az appconfig list

Lists all App Configurations under the current subscription.

az appconfig list [--resource-group]
[--subscription]

Examples

List all App Configurations under a resource group

az appconfig list -g MyResourceGroup

Optional Parameters

--resource-group -g

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

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

az appconfig show

Show properties of an App Configuration.

az appconfig show --name
[--resource-group]
[--subscription]

Examples

Show properties of an App Configuration

az appconfig show -g MyResourceGroup -n MyAppConfiguration

Required Parameters

--name -n

Name of the App Configuration. You can configure the default name using az configure --defaults app_configuration_store=<name>.

Optional Parameters

--resource-group -g

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

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

az appconfig update

Update an App Configuration.

az appconfig update --name
[--add]
[--force-string]
[--remove]
[--resource-group]
[--set]
[--subscription]
[--tags]

Examples

Update tags of an App Configuration

az appconfig update -g MyResourceGroup -n MyAppConfiguration --tags key1=value1 key2=value2

Required Parameters

--name -n

Name of the App Configuration. You can configure the default name using az configure --defaults app_configuration_store=<name>.

Optional Parameters

--add

Add an object to a list of objects by specifying a path and key value pairs. Example: --add property.listProperty <key=value, string or JSON string>.

--force-string

When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.

--remove

Remove a property or an element from a list. Example: --remove property.list OR --remove propertyToRemove.

--resource-group -g

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

--set

Update an object by specifying a property path and value to set. Example: --set property1.property2=.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--tags

Space-separated tags in 'key[=value]' format. Use "" to clear existing tags.