Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…tion-library-for-java into avdunn/update-sha-method
  • Loading branch information
Avery-Dunn committed Jul 16, 2024
2 parents cb7c22b + c1ca9ff commit 08a5189
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class KeyVaultSecretsProvider {
private final SecretClient secretClient;

private static final String CLIENT_ID = TestConstants.MSIDLAB_CLIENT_ID;
public static String CERTIFICATE_ALIAS = "LabVaultAccessCert";
public static String CERTIFICATE_ALIAS = "LabAuth.MSIDLab.com";

private static final String WIN_KEYSTORE = "Windows-MY";
private static final String KEYSTORE_PROVIDER = "SunMSCAPI";
Expand Down Expand Up @@ -66,7 +66,7 @@ private AccessToken requestAccessTokenForAutomation() {
try {
ConfidentialClientApplication cca = ConfidentialClientApplication.builder(
CLIENT_ID, getClientCredentialFromKeyStore()).
authority(TestConstants.MICROSOFT_AUTHORITY).
authority(TestConstants.MICROSOFT_AUTHORITY).sendX5c(true).
build();
result = cca.acquireToken(ClientCredentialParameters
.builder(Collections.singleton(TestConstants.KEYVAULT_DEFAULT_SCOPE))
Expand Down

0 comments on commit 08a5189

Please sign in to comment.