We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5cc623 commit 902d52aCopy full SHA for 902d52a
sdk/azidentity/managed_identity_credential.go
@@ -85,9 +85,7 @@ func NewManagedIdentityCredential(options *ManagedIdentityCredentialOptions) (*M
85
return nil, err
86
}
87
cred := confidential.NewCredFromTokenProvider(mic.provideToken)
88
- if err != nil {
89
- return nil, err
90
- }
+
91
// It's okay to give MSAL an invalid client ID because MSAL will use it only as part of a cache key.
92
// ManagedIdentityClient handles all the details of authentication and won't receive this value from MSAL.
93
clientID := "SYSTEM-ASSIGNED-MANAGED-IDENTITY"
0 commit comments