Skip to content

Commit

Permalink
explain how to avoid .config.env
Browse files Browse the repository at this point in the history
  • Loading branch information
lrakai committed Nov 19, 2023
1 parent 284ee31 commit f633e3a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ The Azure CLI credentials are used by the Azure SDK for Python to authenticate w
The Azure CLI authenticated user (`az login`) and default subscription (`az account set --subscription ...`) are used by the Azure SDK for Python.
The default resource group must also be configured (`az config set defaults.group=...`), or the resource group (`AZURE_RESOURCE_GROUP`) may be defined in isolation in a .config.env file.

If the Azure CLI is authenticated, a default subscription is set and displayed by `az account show`, and a default resource group is set and displayed by `az config get defaults.group`, a .config.env file can be omitted.

### .config.env file

The .config.env file is similar to the environment variables defined in the launch.json file but is a flat file of variable declarations.
Expand Down

0 comments on commit f633e3a

Please sign in to comment.