Azure / Azure/azure-cli

missing AZURE_DEFAULTS_SUBSCRIPTION environment var?

Open
#17,989 14 comments 20 reactions 1 assignee Claimed by @jiasli View on GitHub
act-platform-engineering-squad Core feature-request
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

I find it strange the default subscription is missing from the defaults section in:
https://docs.microsoft.com/en-us/cli/azure/azure-cli-configuration#cli-configuration-values-and-environment-variables

Was this done on purpose? It makes the `az` cli hard (and a little unsafe) to use in a multiple subscription environment with standard tools such as [direnv](https://github.com/direnv/direnv).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.