Skip to content

Commit

Permalink
Add support for Azure US Government (#215)
Browse files Browse the repository at this point in the history
Co-authored-by: Marcin Patalon <[email protected]>
  • Loading branch information
mpatalon and Marcin Patalon authored Aug 21, 2023
1 parent 99bc3eb commit bd50614
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -537,6 +537,7 @@ public static TokenCredential getSystemCredentialById(String credentialID) {
AzureCredentials azureCredential = azureCredentials.get(0);

credential = new ClientSecretCredentialBuilder()
.authorityHost(azureCredential.getAzureEnvironment().getActiveDirectoryEndpoint())
.clientId(azureCredential.getClientId())
.clientSecret(azureCredential.getPlainClientSecret())
.httpClient(HttpClientRetriever.get())
Expand Down

0 comments on commit bd50614

Please sign in to comment.