How do i set defaults for the azure cli?
-
Microsoft documentation for az configure: https://docs.microsoft.com/en-us/cli/azure/azure-cli-configuration?view=azure-cli-latest
This command display the current settings and allows you to change the settings.
$ az configure Welcome to the Azure CLI! This command will guide you through logging in and setting some default values. Your settings can be found at /home/training/.azure/config Your current configuration is as follows: [cloud] name = AzureCloud [core] first_run = yes output = jsonc collect_telemetry = no cache_ttl = 10 [logging] enable_log_file = no Environment variables: AZURE_ACCESS_TOKEN_FILE = /tmp/accessTokens.json AZURE_HTTP_USER_AGENT = cloud-shell/1.0 Do you wish to change your settings? (y/N):
© Lightnetics 2024