Skip to content

Commit 6e58a3f

Browse files
committed
SystemAssigned
1 parent 7db6c2c commit 6e58a3f

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
@@ -171,7 +171,7 @@ def __init__(
171171
self,
172172
managed_identity: Union[
173173
dict,
174-
ManagedIdentity, # Could use Type[ManagedIdentity] but it is deprecatred in Python 3.9+
174+
ManagedIdentity, # Could use Type[ManagedIdentity] but it is deprecated in Python 3.9+
175175
SystemAssignedManagedIdentity,
176176
UserAssignedManagedIdentity,
177177
],
@@ -223,7 +223,7 @@ def __init__(
223223
you may use an environment variable (such as MY_MANAGED_IDENTITY_CONFIG)
224224
to store a json blob like
225225
``{"ManagedIdentityIdType": "ClientId", "Id": "foo"}`` or
226-
``{"ManagedIdentityIdType": "SystemAssignedManagedIdentity", "Id": null})``.
226+
``{"ManagedIdentityIdType": "SystemAssigned", "Id": null}``.
227227
The following app can load managed identity configuration dynamically::
228228
229229
import json, os, msal, requests
@@ -663,4 +663,3 @@ def _obtain_token_on_arc(http_client, endpoint, resource):
663663
"error": "invalid_request",
664664
"error_description": response.text,
665665
}
666-

0 commit comments

Comments
 (0)