How do i set defaults for the azure cli?

  • Microsoft documentation for az configure:

    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:
    name = AzureCloud
    first_run = yes
    output = jsonc
    collect_telemetry = no
    cache_ttl = 10
    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):

Log in to reply

© Lightnetics 2024