az configure currently only supports setting and listing the default section:
> az configure -h
Command
az configure : Manage Azure CLI configuration. This command is interactive.
Arguments
--defaults -d : Space-separated 'name=value' pairs for common argument defaults.
--list-defaults -l : List all applicable defaults. Allowed values: false, true.
--scope : Scope of defaults. Using "local" for settings only effective under current
folder. Allowed values: global, local. Default: global.
For other sections described in Azure CLI configuration, users will have to manually edit the ~/.azure/config file, like
[core]
collect_telemetry = no
no_color = yes
[logging]
enable_log_file = no
This is inconvenient.
To improve the user experience, az configure needs to
- Support set, get and unset
- Support sections other than
default
az configurecurrently only supports setting and listing thedefaultsection:For other sections described in Azure CLI configuration, users will have to manually edit the
~/.azure/configfile, likeThis is inconvenient.
To improve the user experience,
az configureneeds todefault