-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[Core] PREVIEW: Support broker on WSL #31169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
️✔️AzureCLI-FullTest
|
️✔️AzureCLI-BreakingChangeTest
|
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
|
The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR. Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions). pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>
|
b048c32 to
f58a10f
Compare
| set_broker_info(enable_broker_on_windows) | ||
|
|
||
| # On WSL, use core.enable_broker_on_wsl=true to use broker (WAM) | ||
| enable_broker_on_wsl = cli_ctx.config.getboolean('core', 'enable_broker_on_wsl', fallback=False) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Telemetry for enable_broker_on_wsl will be added by #31275.
Sending telemetry during development will pollute the telemetry as the feature is not ready yet.
Related command
az loginDescription
Require AzureAD/microsoft-authentication-library-for-python#766
Similar to #23828
Support Web Account Manager (WAM) login on WSL.
Testing Guide
On WSL, users can opt in WAM login using:
Then run
History Notes
[Core] PREVIEW: Support Web Account Manager (WAM) login on WSL. To opt in, run
az config set core.enable_broker_on_wsl=true