Skip to content

Commit 43401e7

Browse files
committed
test_profile.py
1 parent e4057a4 commit 43401e7

File tree

2 files changed

+251
-256
lines changed

2 files changed

+251
-256
lines changed

src/azure-cli-core/azure/cli/core/_profile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -733,7 +733,7 @@ def credential_factory(identity_type, identity_id):
733733
if identity_type == ManagedIdentityAuth.id_type_object_id:
734734
return ManagedIdentityCredential(object_id=identity_id)
735735
if identity_type == ManagedIdentityAuth.id_type_resource_id:
736-
return ManagedIdentityCredential(msi_res_id=identity_id)
736+
return ManagedIdentityCredential(mi_res_id=identity_id)
737737
raise ValueError("Unrecognized managed identity account type '{}'".format(identity_type))
738738

739739

0 commit comments

Comments
 (0)