-
Notifications
You must be signed in to change notification settings - Fork 61
feat: Add Azure CLI auth source #265
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
Open
shirasassoon
wants to merge
87
commits into
microsoft:main
Choose a base branch
from
shirasassoon:feature/azure-cli-auth-poc
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
87 commits
Select commit
Hold shift + click to select a range
24582d3
feat: Add Azure CLI auth source (POC)
98e325b
Merge branch 'main' into feature/azure-cli-auth-poc
shirasassoon c0ac959
feat: production-ready Azure CLI auth hardening
8d48a1a
perf: validate only Fabric scope at Azure CLI login
aef875a
fix: restore 3-scope validation for Azure CLI login consistency
a2c5de6
fix: add tenant display to interactive Azure CLI login path
7c499a2
update
a0215d2
perf: cache az account show result for 30s to avoid repeated subproce…
250e8fb
fix: address tenant cache review feedback
3aed687
Merge branch 'main' into feature/azure-cli-auth-poc
shirasassoon 28bf323
refactor: address code review feedback on Azure CLI auth
277dd0d
refactor: move Azure CLI error messages to ErrorMessages.Auth
8ed9892
fix wording
39b7de1
Merge branch 'feature/azure-cli-auth-poc' of https://github.com/shira…
cb334eb
refactor: replace denylist sanitization with SDK exception allowlist
da260d3
refactor: move azure-identity import to module level
7705598
fix comment
5be8a2a
chore: remove unused fresh_auth fixture
22ee7d9
fix: add azure_cli to test args fixture to prevent MagicMock truthy leak
40213f0
add changelog
b731895
Merge branch 'feature/azure-cli-auth-poc' of https://github.com/shira…
3e09380
test: expand Azure CLI auth test coverage
3c7fd91
test: address review feedback on test quality
e91c94b
test: add parser and MSAL bridge coverage for Azure CLI auth
76917c6
test: address review feedback on test quality (round 2)
af7b21a
test: address review feedback round 3
cbeba01
test: use monkeypatch.setattr for singleton file paths
f560488
refactor: extract token refresh buffer to named constant
02f7618
fix: clear token cache on set_azure_cli to prevent stale cross-tenant…
8a3ae91
fix: resolve az executable path for Windows compatibility
a4d4ec4
format fix
7ec4ee1
docs: add Azure CLI authentication to command reference and examples
2a6ffe1
docs: add Azure CLI authentication to command reference and examples
6624a1a
v
8fae5dc
update docs
4851ffa
update wording
ed0b2ed
fix: expand SDK exception allowlist with ServiceRequestError and Serv…
edfe385
test: verify non-azure-cli identity types do not invoke AzureCliCrede…
d0c48c2
refactor: move auth isolation tests from bridge to core auth test file
f4379ad
test: add bidirectional auth method isolation — azure_cli must not in…
8565bda
chore: align azure-identity minimum to >=1.25.0 (consistent with fabr…
56878e7
Merge branch 'main' into feature/azure-cli-auth-poc
shirasassoon 72a5916
feat: add principal drift detection to prevent silent identity swaps
a31a76e
Merge branch 'main' into feature/azure-cli-auth-poc
shirasassoon 502224c
refactor: remove in-memory token cache and globalize AzureCliCredential
7e11472
Merge branch 'feature/azure-cli-auth-poc' of https://github.com/shira…
1785775
refactor: single-channel Azure CLI via JWT-based drift detection
8b82831
feat: add issuer (iss) to drift detection key for sovereign cloud safety
2d38b97
security: fail-closed on missing JWT identity claims
f819ded
refactor: strict Azure CLI context inheritance, no tenant override
165aa7d
feat: validate --tenant flag against Azure CLI context
0dcba92
fix: environment drift check compares issuer host only, not full URL
acb923b
fix: suppress noisy Azure SDK logging in fab auth status
3ff1e13
fix: correct mock assertions for keyword arg in set_azure_cli tests
769b0cf
fix error messages
3e32629
Merge branch 'feature/azure-cli-auth-poc' of https://github.com/shira…
bda02b2
fux
72aa017
fix
8d7f062
fix: update test assertions to match simplified error messages
316cb63
refactor: use signature-validated _decode_jwt_token for Azure CLI auth
0140a7e
fix: add JWKS bypass monkeypatch to MSAL bridge Azure CLI tests
0da5b2f
security: suppress azure.identity/azure.core loggers globally
11a19a2
docs: clarify --tenant flag behavior for Azure CLI auth
abf66a8
fix: roll back partial auth state when Azure CLI probe fails on mode …
b6b793c
security: use isinstance for SDK exception allowlist instead of name-…
b322242
fix: always logout on failed probe for consistency with MSAL flow
0448b28
security: apply full SDK exception allowlist to probe path
7a80a21
fix: distinguish drift errors from session expiry in auth status
d818994
feedback
cb47d13
update
d4ba520
remove auth_source field for consistency
7ad145e
remove redundancy
b2b0f5d
feat(auth): remove drift detection and simplify Azure CLI auth flow
1549b24
fix(auth): remove Azure CLI success message for MSAL consistency
8827af1
update docs
1c0faeb
fix
76a7da7
revert
e0bffc7
fix(auth): always update tenant from Azure CLI token on each acquisition
f9405e4
fix(auth): bypass set_tenant for Azure CLI to prevent partial logout
a4c3339
clean up
fb7bcd1
add azure sdk logging suppression
794d830
fix bug with tenant and status ui
294e050
Merge branch 'main' into feature/azure-cli-auth-poc
shirasassoon 0369efd
add timeout, fix failing tests, clean up import, remove decode jwt lo…
5efe6d4
Merge branch 'feature/azure-cli-auth-poc' of https://github.com/shira…
73fec4a
add space back
5f0ed58
add arg validation
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| kind: added | ||
| body: Add support for Azure CLI authentication source | ||
| time: 2026-08-12T12:24:46.8603823+03:00 | ||
| custom: | ||
| Author: shirasassoon | ||
| AuthorLink: https://github.com/shirasassoon |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.