Skip to content

Commit 1d85e8a

Browse files
jiaslirayluo
authored andcommitted
SystemAssigned
1 parent ec3c500 commit 1d85e8a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

msal/managed_identity.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def __init__(
154154
self,
155155
managed_identity: Union[
156156
dict,
157-
ManagedIdentity, # Could use Type[ManagedIdentity] but it is deprecatred in Python 3.9+
157+
ManagedIdentity, # Could use Type[ManagedIdentity] but it is deprecated in Python 3.9+
158158
SystemAssignedManagedIdentity,
159159
UserAssignedManagedIdentity,
160160
],
@@ -206,7 +206,7 @@ def __init__(
206206
you may use an environment variable (such as MY_MANAGED_IDENTITY_CONFIG)
207207
to store a json blob like
208208
``{"ManagedIdentityIdType": "ClientId", "Id": "foo"}`` or
209-
``{"ManagedIdentityIdType": "SystemAssignedManagedIdentity", "Id": null})``.
209+
``{"ManagedIdentityIdType": "SystemAssigned", "Id": null}``.
210210
The following app can load managed identity configuration dynamically::
211211
212212
import json, os, msal, requests
@@ -648,4 +648,3 @@ def _obtain_token_on_arc(http_client, endpoint, resource):
648648
"error": "invalid_request",
649649
"error_description": response.text,
650650
}
651-

0 commit comments

Comments
 (0)