Skip to content

Commit ad4d7f4

Browse files
authored
Add suppression. (#3591)
1 parent 6cf413f commit ad4d7f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Microsoft.Identity.Web.Certificate/KeyVaultCertificateLoader.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ public async Task LoadIfNeededAsync(CredentialDescription credentialDescription,
7979
};
8080
}
8181

82+
// CodeQL [SM05137] intentional: Using default credential because user may configure any of the supported auth methods. This method is also not used always as the resulting retrieved keys are cached.
8283
DefaultAzureCredential credential = new(options);
8384
CertificateClient certificateClient = new(keyVaultUri, credential);
8485
SecretClient secretClient = new(keyVaultUri, credential);

0 commit comments

Comments
 (0)