Skip to content

Commit c620d89

Browse files
committed
misc updates
Signed-off-by: Paul Van Eck <paulvaneck@microsoft.com>
1 parent 65c2e27 commit c620d89

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

sdk/identity/azure-identity/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
# Release History
22

3-
## 1.21.1 (Unreleased)
3+
## 1.22.0b1 (Unreleased)
44

55
### Features Added
66

7+
- `DefaultAzureCredential` now supports authentication with the currently signed-in Windows account through `InteractiveBrowserCredential`, provided the `azure-identity-broker` package is installed. This is added at the end of the `DefaultAzureCredential` credential chain. ([#40335](https://github.com/Azure/azure-sdk-for-python/pull/40335))
8+
79
### Breaking Changes
810

911
- Previously, if a `client_id` or `identity_config` was specified in `ManagedIdentityCredential` for Service Fabric managed identity, which is not supported, the `client_id` (or `resource_id`/`object_id` specified `identity_config`) would be silently ignored. Now, an exception will be raised during a token request if a `client_id` or `identity_config` is specified for Service Fabric managed identity.

sdk/identity/azure-identity/azure/identity/_credentials/default.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import logging
66
import os
77
import sys
8-
from typing import List, Any, Optional, cast, TYPE_CHECKING
8+
from typing import List, Any, Optional, cast, TYPE_CHECKING, Type
99

1010
import msal
1111
from azure.core.credentials import AccessToken, AccessTokenInfo, TokenRequestOptions, SupportsTokenInfo, TokenCredential
@@ -284,7 +284,7 @@ def get_token_info(self, *scopes: str, options: Optional[TokenRequestOptions] =
284284
return token_info
285285

286286

287-
def _get_broker_credential() -> Optional["InteractiveBrowserBrokerCredential"]:
287+
def _get_broker_credential() -> Optional[Type["InteractiveBrowserBrokerCredential"]]:
288288
# Get the broker credential if available
289289
try:
290290
from azure.identity.broker import InteractiveBrowserBrokerCredential

sdk/identity/azure-identity/azure/identity/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
# Copyright (c) Microsoft Corporation.
33
# Licensed under the MIT License.
44
# ------------------------------------
5-
VERSION = "1.21.1"
5+
VERSION = "1.22.0b1"

0 commit comments

Comments
 (0)