az-appconfig

Manage Azure App Configuration stores

TLDR

Create an App Configuration store
$ az appconfig create --name [MyAppConfig] --resource-group [MyResourceGroup] --location [westus] --sku [Standard]
List all App Configuration stores in a resource group
$ az appconfig list --resource-group [MyResourceGroup]
Show details of an App Configuration store
$ az appconfig show --name [MyAppConfig] --resource-group [MyResourceGroup]
Set a key-value in the store
$ az appconfig kv set --name [MyAppConfig] --key [myKey] --value [myValue]
List key-values in the store
$ az appconfig kv list --name [MyAppConfig]
Import configuration from a file
$ az appconfig kv import --name [MyAppConfig] --source file --path [config.json] --format json
Enable a feature flag
$ az appconfig feature enable --name [MyAppConfig] --feature [myFeature]
Delete an App Configuration store
$ az appconfig delete --name [MyAppConfig] --resource-group [MyResourceGroup]

SYNOPSIS

az appconfig subcommand [options]

DESCRIPTION

az appconfig manages Azure App Configuration stores, which provide a service to centrally manage application settings and feature flags. App Configuration helps implement the Twelve-Factor App methodology by separating configuration from code.Available SKUs are Free, Developer, Standard, and Premium (default is Standard), with Premium offering additional features like geo-replication via replicas.

SUBCOMMANDS

create

Create an App Configuration store.
delete
Delete an App Configuration store.
list
List all App Configuration stores.
show
Show properties of a store.
update
Update an App Configuration store.
kv
Manage key-values (set, get, list, delete, lock, unlock).
kv import/export
Import/export configurations.
feature
Manage feature flags (enable, disable, set, delete).
credential
Manage access keys.
replica
Manage replicas (Premium tier).
snapshot
Manage configuration snapshots.

INSTALL

sudo dnf install azure-cli
sudo pacman -S azure-cli
sudo zypper install azure-cli
brew install azure-cli
nix profile install nixpkgs#azure-cli

CAVEATS

Requires Azure CLI to be installed and authenticated with az login. Some features like replicas are only available in Premium tier.

SEE ALSO

az(1), az-config(1), az-advisor(1)

RESOURCES

Source code · Documentation